Re: [JSch-users] Unable to use scp to a windows machine using JSch
Status: Alpha
Brought to you by:
ymnk
|
From: Yuva <yuv...@gm...> - 2012-06-23 07:39:32
|
Yes.. I have installed Freesshd on the Windows machine and the SSH service is running. On Fri, Jun 22, 2012 at 1:14 PM, Atsuhiko Yamanaka <ym...@jc...> wrote: > Hi, > > +-From: Yuva <yuv...@gm...> ------ > |_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 > -- Regards, Yuva |