I have setup rancid following this link:
http://ciscoskills.net/2015/01/03/insta ... -centos-7/
Mail notifications are wokring. I received emails when I added certain devices.
ViewVC is showing the added devices too.
However, config is not getting fetched. I tried logging into a few devices from CentOS terminal to check if all is ok, but it asks for a User Name even though I have provided the username and password in .cloginrc.
The switch is Cisco SG300-52.
- Code: Select all
[root@host-192-168-111-8 ~]# su rancid
[rancid@host-192-168-111-8 root]$ /usr/local/rancid/bin/clogin switch1
spawn ssh -c 3des -x -l admin switch1
User Name:admin
Connection to switch1 closed.
Error: Connection closed (ssh): switch1
[rancid@host-192-168-111-8 root]$ admin
bash: admin: command not found...
Username and other info as provided in cloginrc:
- Code: Select all
add user switch1 admin
add password switch1 <ssh password> <enable password>
add method switch1 ssh
add autoenable switch1 1
In router.db, the statement switch1:cisco:up is present too.
one thing more, if this may help. When I login to the same switch through Putty, it asks me username twice !!!'
- Code: Select all
login as: admin
User Name:admin
Password:***********
switch1#
Can anyone please help. anyone experience the issue before?