Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: SSH connection to 100 routers

by eighty-one (Curate)
on Feb 26, 2018 at 15:06 UTC ( [id://1209978]=note: print w/replies, xml ) Need Help??


in reply to SSH connection to 100 routers

There is a tool called rancid that handles this via expect. The expect man page is actually pretty good and should give you a decent overview of what it can do.

I think the rancid devs use the shell version of expect via a bash script (I haven't looked in quite a while so I'm not sure).

CPAN has a few Expect modules. Rex::Helper::SSH2::Expect looks interesting but I have no experience with it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found