Hi, +-From: =?iso-8859-15?q?Ren=E9_Krell?= <rkr...@gk-software.com> -- |_Date: Fri, 18 Mar 2011 12:02:00 +0100 __________________________ | |We have something similar in SSH connections with Jsch versions up |to 0.1.44 to FreeSSHD (even latest versions). Accidentally |the connection breaks with |"SSH_MSG_DISCONNECT: Could not use server's key": |Stacktrace: com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 9 Could not use |server's key. Please contact server administrator to generate new key. | at com.jcraft.jsch.Session.read(Session.java:899) | at com.jcraft.jsch.Session.connect(Session.java:294) |...
It seems to me that the problem has occurred on the server side; the server host key(for example, /etc/ssh/ssh_host_rsa_key) on the remote are not accessible by the sshd in some cases. 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 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users