Re: [JSch-users] Unable to use scp to a windows machine using JSch
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2012-06-22 07:44:30
|
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 |