Discussion:
[rancid] cloginrc password and login failure.
Adam Korab
2007-10-18 20:57:15 UTC
Permalink
Hi,

Just added a new device to my rancid configuration - Cisco PIX firewall.

Added the following to .cloginrc for the rancid user:

add method fw*.site.us ssh
add user fw*.site.us {username}
add password fw*.site.us {foo} {foo}

Running clogin fw01.site.us yields:

-bash-3.00$ clogin fw01.site.us
fw01.site.us
spawn ssh -c 3des -x -l username fw01.site.us
***@fw01.site.us's password:
Permission denied, please try again.

Error: Check your passwd for fw01.bstnma02.us

However, running this command works just fine.

-bash-3.00$ clogin -p foo fw01.site.us
fw01.site.us
spawn ssh -c 3des -x -l username fw01.site.us
***@fw01.site.us's password:
Type help or '?' for a list of available commands.
pix>
pix> enable
Password: *******
pix#

Thanks much for any insight or comments.

--Adam

Loading...