Hi, i'm using the Sftp in order to transfer files to an OpenSSH server in
There is a piece of code that nearly last 11 seconds.
I'm using the same approach as the samples
JSch jsch =3D new JSch();
String user=3D"user"; // a valid user
String host=3D"A.B.C.D" ; // a valid IP adress
Session session=3Djsch.getSession(user, host, 22);
System.out.println("Time:>>>>" + (fin-init)); // 11000 ms !!!!
I'm working with the 1.0.25 release + the pathch published to speed up the
If I run the same code from the windows machine, it's almost inmediate.
(sftp against localhost)
I was guessing about network problems, but however if I run the sftp UNIX
client command there is no much time !!!
Any idea about what is happening?
Is there any problem using OpenSSH? Has anybody something similar?