Hi All,

I used jsch-0.1.43 to do transfer files with some SFTP servers. Everything 
worked well for me when I set HMAC-SHA1 or HMAC-MD5 as mac.s2c and mac.c2s. But 
when I used HMAC-SHA1-96 or HMAC-MD5-96, I kept getting timeout errors.

With OpenSSH 5.6, I got the following error:

com.jcraft.jsch.JSchException: Session.connect: 
java.net.SocketTimeoutException: Read timed out
at com.jcraft.jsch.Session.connect(Session.java:504)
at com.jcraft.jsch.Session.connect(Session.java:154


With Bitvise WinSSHD 5.29, I got the following error:

com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 11 WinsshdLoginTimeout: user 
authentication timeout
at com.jcraft.jsch.Session.read(Session.java:899)
at com.jcraft.jsch.UserAuthNone.start(UserAuthNone.java:56)
at com.jcraft.jsch.Session.connect(Session.java:350)
at com.jcraft.jsch.Session.connect(Session.java:154


Could anyone tell me if I missed anything our there was some issue in the 
HMAC-SHA1-96 and HMAC-MD5-96 implementation?

Thanks,
Viet



      
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to