I am not sure I understand you question correctly. If you mean you want to run shell command on remote server, then you should find Shell.java to see how it works
If you mean you want to use a telnet client over an SSH connection, see PortForwardingL.java Pan Li http://Prominic.NET || pa...@prominic.net 8620-82316133 From: Prasad Shindikar <prasad.shindi...@gmail.com> To: jsch-users@lists.sourceforge.net Date: 2009/12/08 13:41 Subject: [JSch-users] Can we telnet on top of SSH connectivity through JSch ? Hi JSch Users, I would like to telnet to another machine, after SSHing using JSch to a gateway. Is telnet supported on top of SSH functionality? I am getting an error while trying to enter the password. Although the password is correct, I get back a response saying "Password Incorrect". Any help in this regard is appreciated. Regards, Prasad Shindikar ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users