cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3461
Views
0
Helpful
1
Replies

perl module for ssh to Cisco devices

ghoward
Level 1
Level 1

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?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: