Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: accessing Cisco via SSH

by Anonymous Monk
on Oct 13, 2010 at 10:51 UTC ( #865057=note: print w/replies, xml ) Need Help??

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!!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://865057]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-03-31 06:18 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (75 votes). Check out past polls.