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 <ymnk@jcraft.com> wrote:
Hi,

  +-From: Yuva <yuvachitra@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



--
Regards,
Yuva