Hi,
+-From: Barak Yaish <[email protected]> ---
|_Date: Thu, 26 Mar 2009 11:30:41 +0200 __
|
|I'm trying to use jsch in order to connect from windows machine to some
|remote host running sshd on CentOS. When working with user/password
|credentials everything is running just fine, but if I try to configure jsch
|with my keys, then Session.connect() hangs. Taking thread dump shows:
Which jsch version are you using?
|SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line:
|not available [native method] [local variables unavailable]
|SocketInputStream.read(byte[], int, int) line: 129
|IO.getByte(byte[], int, int) line: 82
|Session.read(Buffer) line: 809
|UserAuthPublicKey.start(Session) line: 83
It seems that it is blocked in the remote sshd.
Is it possible to run the remote sshd in the debug mode?
I mean that
/usr/sbin/sshd -d -d -d
...
|Using Putty to connect the host with these keys works as expected.
Are those keys in OpenSSH format?
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/
------------------------------------------------------------------------------
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users