Hi all, I'm currently using JSch to execute commands on a remote system.
When connecting for the first time everything works well (like in the Exec example on the webpage). The problem occurs when I try to do a session.connect() after a session.disconnect() to reconnect to the remote system. Doing that a JSchException is thrown saying "Packet corrupt". Here is the log of the ssh-server: sshd[29458]: Bad packet length 1137305849. [preauth] sshd[29458]: Disconnecting: Packet corrupt [preauth] (Note: the value of 'bad packet length' seems to be random, but is always a very large number). To reproduce the problem you can simply insert a session.connect() after the session.disconnect() (e.g. in the Exec example from the webpage). Thanks in advance for your help :-) Regards, Jost ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
