[JSch-users] Timeout error with HMAC-SHA1-96 and HMAC-MD5-96
Status: Alpha
Brought to you by:
ymnk
From: Viet H. P. <hoa...@ya...> - 2010-08-30 10:20:49
|
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 |