Hi,

   +-From: Yuva <yuvachi...@gmail.com> ------
   |_Date: Fri, 22 Jun 2012 12:26:56 +0530 __
   |
   |I have set up a ssh server on a windows machine.  I am able to
   |establish connection with the windows machine using Jsch and do
   |remote execution of commands.  But when I try scp ( tried running
   |ScpTo.java example) , i get the exit-status as -1 always.

The scp expects "scp" command on the server side, so "scp" command
must be installed and accessible on your Windows machine, in your case.
Does it exist there?


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to