[rancid] Timeouts on Cisco ASA

JP Viljoen froztbyte at froztbyte.net
Tue Apr 21 09:22:27 UTC 2009


I've got a few Cisco devices that I'm monitoring configs and changes to the 
configs with using RANCID, and among them is an ASA. The problem I have is that 
logging into the ASA with clogin seems to just stall. It gets as far the 
prompt immediately after login, and from there's it's just dead.

rancid at mon:~/rancid/bin$ ./clogin 10.1.2.1
10.1.2.1
spawn ssh -c 3des -x -l user 10.1.2.1
user at 10.1.2.1's password:
Type help or '?' for a list of available commands.
ciscoasa> 
{TIMEOUT here}

Entering commands at this point is unsuccessful, as is giving commands with 
the -c parameter. Logging into the device with ssh on its own works perfectly 
though:

rancid at mon:~/rancid/bin$ ssh user at 10.1.2.1
user at 10.1.2.1's password:
Type help or '?' for a list of available commands.
ciscoasa> ?

  clear       Reset functions
  enable      Turn on privileged commands
<snip>

My .cloginrc for the specific device is as follows:

add user 10.1.2.1               {user}
add password 10.1.2.1           {loginpass} {enablepass}
add method 10.1.2.1             ssh

Initially the configuration was with Telnet, using which I experienced the same 
timeout issue. After some reading through the archives I established that it 
might be worth attempting to use SSH and have now run into the same issue. If 
anyone else has perhaps solved this issue, or have a pointer on what I could 
look at?


More information about the Rancid-discuss mailing list