SSH login to Cisco switch using Rancid times out
Posted
by
Lars
on Server Fault
See other posts from Server Fault
or by Lars
Published on 2012-08-10T13:52:01Z
Indexed on
2013/06/25
22:23 UTC
Read the original article
Hit count: 440
I have a 3560 switch that I have configured to accept SSH logins, and this works fine. However I cannot get Rancid to complete the login process to any of my switches using SSH. I get a timeout error after a minute or so. Telnet logins work fine with the same username and password.
Here is my rancid setup in .cloginrc:
add user * {myuser}
add password * {strongAccessPassword} {strongEnablePassword}
add method * ssh telnet
Then, when I run bin/clogin 10.10.1.10 I get:
# bin/clogin 10.10.1.10
10.10.1.10
spawn ssh -c 3des -x -l myuser 10.10.1.10
###############################################
Please authenticate.
###############################################
Password:
Error: TIMEOUT reached
Again, when I do this using telnet as my preferred mothod in .cloginrc, it works without issue.
© Server Fault or respective owner