Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

perl module for ssh to Cisco devices

We are looking for a perl module tailored to support ssh to Cisco IOS and PIX devices. We have used the perl net-telnet-cisco module, but we need to use ssh instead of telnet in our automation due to security concerns. We've searched CPAN and other perl module sources. The net-ssh module is not tailored to Cisco and is giving us some trouble. Does anyone have any suggestions?

Cisco Employee

Re: perl module for ssh to Cisco devices

I have not run across an SSH analog to Net::Telnet::Cisco, but there is Net::SSH::Perl which is a native Perl implementation of SSHv1 and v2 (instead of the wrapper around the system SSH which is Net::SSH). If you just need SSHv1, then this should work. There is a major issue with using this module with Cisco devices that only run SSHv2, and it doesn't look like that will ever be fixed. If you need SSHv2 support, there's also Net::SSH2 which may work for you, but is definitely not as user-friendly.

CreatePlease login to create content