Take a look at Control::CLI. It uses Net::Telnet and Net::SSH2 for telnet and ssh connections respectively. There's a chance that the syntax for Control::CLI maybe close enough to that of Net::Telnet that you could switch over to use Control::CLI in your code for ssh connection with minimal code change.
In reply to Re: Changing a script from Net::Telnet to Net::SSH2
by dasgar
in thread Changing a script from Net::Telnet to Net::SSH2
by jtzako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |