[rancid] Can't connect to Enterasys via SSH
Paul Thornton
prt at prt.org
Fri Oct 18 18:10:37 UTC 2013
Hi
On 18/10/2013 12:57, Victor Ruiz wrote:
> When I try to do login with rivlogin the follow error appear:
>
> rancid at monrancid1:~/bin$ /usr/local/rancid/bin/rivlogin -f /usr/local/rancid/.cloginrc b5b1.XXXX
> Trying 10.XX.XX.XX...
> telnet: Unable to connect to remote host: Connection refused
>
> ERROR: device closed telnet connection during login
> rancid at monrancid1:~/bin$
This is attempting to use telnet to talk to your device, and failing.
> But if I run the command: "/usr/local/rancid/bin/clogin -c "show config" b5b1.XXXX" run properly:
>
> rancid at monrancid1:~/bin$ /usr/local/rancid/bin/clogin -c "show config" b5b1.XXXX b5b1.XXXX
> spawn ssh -c 3des -x -l admin b5b1.XXXX
> admin at b5b1.infojobs's password:
This is using SSH, and working.
I suspect that you need to add:
add method b6b1.whatever ssh
to your .cloginrc
Paul.
More information about the Rancid-discuss
mailing list