in reply to accessing Cisco via SSH

You might want to look at Net::Appliance::Session, looks like it may be what you want these days. Ages ago when I went from Telnet to SSH on Cisco devices, I tried to patch up Net::Telnet::Cisco to work with SSH and gave up in utter frustration.

I ended up using Expect and regular ssh external command. That basic sub-class of Expect has worked quite well over the years for all sorts of devices Cisco, Foundry, Juniper, etc.

It looks like Net::Appliance::Session supports Telnet/SSH and has sub-classes for various devices. I might take a look at it, but my Expect version ain't broke :)

Replies are listed 'Best First'.
Re^2: accessing Cisco via SSH
by Always Improving (Initiate) on Oct 13, 2010 at 13:26 UTC
    It looks like Net::Appliance::Session requires gcc? I am on a windows machine*, so that may be an insurmountable obstacle. Thanks again for all of the replies though

    * - A windows machine, at work, that I already had to fight tooth and nail to get Perl installed on to begin with, due to 'licensing issues' or some such thing. It's not even like I am writing revenue producing code, just trying to automate some mundane processes!!