Re: [JSch-users] JSch is not compatible with OpenSSH 4.2p1
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2006-11-15 14:32:50
|
Hi, +-From: Shriharsha Bhat <sh...@ci...> -- |_Date: Wed, 15 Nov 2006 18:35:00 +0530 ______ | |But recently I am facing some problems with JSch. It fails to establish |a connection with OpenSSH server v 4.2p1 on Solaris 10 (sparc). |I am getting following log messages from jsch. |*INFO: Connecting to 10.76.176.156 port 22 |INFO: Connection established |INFO: Remote version string: SSH-2.0-OpenSSH_4.2 |INFO: Local version string: SSH-2.0-JSCH-0.1.30 |INFO: SSH_MSG_KEXINIT received |INFO: SSH_MSG_KEXINIT sent |INFO: kex: server->client 3des-cbc hmac-md5 none |INFO: kex: client->server 3des-cbc hmac-md5 none |INFO: SSH_MSG_KEXDH_INIT sent |INFO: expecting SSH_MSG_KEXDH_REPLY |Session.connect: java.net.SocketException: Connection reset I can not reproduce such a problem in connecting to OpenSSH_4.2 and OpenSSH_4.3 running on Fedora Core 4 and 5. Are you setting the timeout for Session#connect() ? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ |