in reply to Changing a script from Net::Telnet to Net::SSH2

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.

  • Comment on Re: Changing a script from Net::Telnet to Net::SSH2