[rancid] Problem using rancid

Clément M. mezino.clement at gmail.com
Fri Jan 10 14:08:00 UTC 2014


I'm having some issues using rancid at work.

I want to manage cisco switches and everything works fine except for one :(

In fact, most of them are using telnet and the one that doesn't work uses

Here's where I am so far :

clogin -c "show run"
spawn ssh -p 22 -c 3des -x -l admin
SW>terminal length 0
SW>terminal width 132
SW>show run
% Invalid input detected at '^' marker.

Connection to closed.

Not working !

But when i try a telnet switch, it's all good :

My cloginrc looks like this :

add method         {ssh:22}
add user           admin
add autonenable    0
add method 192.168.1.*          {telnet:23}
add password 192.168.1.*        {"pass"} {"enable_pass"} --> (Same for all)

I'm using telnet for all my switches except for this one. I'm running
rancid on a RHEL 6 system.
Can you help me ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140110/de84a929/attachment.html>

More information about the Rancid-discuss mailing list