JSch is a pure Java implementation of SSH2. I'm using Jsch API for secure copying (scp) files from one server to remote server. Jsch API works for SSH -Protocol 1.99 but NOT for SSH- Protocol 2.0.
Is there any configuration changes i have to modify in order Jsch work with SSH Protocol 2.0 (remote server).
I'm using Jsch-0.1.12 version. Can some help out to resolve this. I appreciate your help. Thanks.
I know that this is an old message but though that I might respond anyway, incase someone else is having the same problem.
Have a look at this page which gives som background to the problem: http://www.snailbook.com/faq/scp-ossh-to-ssh2.auto.html .
What I did was build SSH1(http://www.ssh.com/support/downloads/secureshellserver/non-commercial.html and get an older version(1.2.XX).
Just make it, but dont install, instead only scp to /usr/local/bin.
Please let me know if are still having problems.