Hi,

I am keeping getting "java.io.IOException: End of IO Stream Read" issue when 
using JSch 0.1.49 with JZlib 1.1.1 to connect to an SSH-2.0-OpenSSH_5.3p1 
Debian-3ubuntu6 server.
Following please find a detailed log:

15:50:05:073Connecting to <server> port 22
15:50:05:694Connection established
15:50:06:318Remote version string: SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu6
15:50:06:319Local version string: SSH-2.0-AdvantcoSFTPAdapter-3.0.28
15:50:06:319CheckCiphers: 3des-cbc
15:50:06:319CheckKexes: diffie-hellman-group14-sha1
15:50:06:324SSH_MSG_KEXINIT sent
15:50:06:932SSH_MSG_KEXINIT received
15:50:06:932kex: server: 
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
15:50:06:933kex: server: ssh-rsa,ssh-dss
15:50:06:933kex: server: 
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
15:50:06:933kex: server: 
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
15:50:06:933kex: server: 
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
15:50:06:933kex: server: 
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
15:50:06:934kex: server: none,z...@openssh.com
15:50:06:934kex: server: none,z...@openssh.com
15:50:06:934kex: server: 
15:50:06:934kex: server: 
15:50:06:934kex: client: 
diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256
15:50:06:934kex: client: ssh-rsa,ssh-dss
15:50:06:934kex: client: 3des-cbc
15:50:06:935kex: client: 3des-cbc
15:50:06:935kex: client: 
hmac-sha1,hmac-sha2-224,hmac-sha2-256,hmac-sha2-384,hmac-sha2-512
15:50:06:935kex: client: 
hmac-sha1,hmac-sha2-224,hmac-sha2-256,hmac-sha2-384,hmac-sha2-512
15:50:06:935kex: client: zlib,z...@openssh.com,none
15:50:06:935kex: client: zlib,z...@openssh.com,none
15:50:06:935kex: client: 
15:50:06:935kex: client: 
15:50:06:936kex: server->client 3des-cbc hmac-sha1 z...@openssh.com
15:50:06:936kex: client->server 3des-cbc hmac-sha1 z...@openssh.com
15:50:06:941SSH_MSG_KEXDH_INIT sent
15:50:06:942expecting SSH_MSG_KEXDH_REPLY
15:50:07:565ssh_rsa_verify: signature true
15:50:07:566Permanently added '<server>' (RSA) to the list of known hosts.
15:50:07:566SSH_MSG_NEWKEYS sent
15:50:07:566SSH_MSG_NEWKEYS received
15:50:07:566SSH_MSG_SERVICE_REQUEST sent
15:50:08:174SSH_MSG_SERVICE_ACCEPT received
15:51:06:318Disconnecting from <server> port 22
15:51:06:319Exception stack strace:
com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO 
Stream Read
at com.jcraft.jsch.Session.connect(Session.java:534)
at com.jcraft.jsch.Session.connect(Session.java:162)

Could you kindly help to let me know what cause the issue and how to resolve it?

Thanks and Best Regards,
Viet
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to