in reply to Changing a script from Net::Telnet to Net::SSH2
ssh on the other hand, is a client to sshd; this provides a secure access to the userland shell of the system you're logging into (among other things); for example, you can telnet over an ssh tunnel (which it sounds like what you might need to do in order to retain your functionality).
See A little demo for Net::SSH2 for a Net::SSH2 demonstration. For some perspective on the differences between telnet and ssh, check out http://unix.stackexchange.com/questions/80028/what-is-the-equivalent-of-telnet-localhost-25-with-ssh.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Changing a script from Net::Telnet to Net::SSH2
by jtzako (Sexton) on Mar 03, 2016 at 21:14 UTC | |
by dasgar (Priest) on Mar 03, 2016 at 21:38 UTC | |
by jtzako (Sexton) on Mar 03, 2016 at 22:18 UTC | |
by dasgar (Priest) on Mar 03, 2016 at 23:31 UTC |