[rancid] Extra Characters after logging in Arista switches
Matt Almgren
matta at surveymonkey.com
Fri May 1 19:54:48 UTC 2015
Hi, I’m seeing some extra characters appear on the lines after logging in to Arista switches.
Here’s an example:
rancid at SITE-tools01:~$ bin/clogin SITE-sw16
SITE-sw16
spawn ssh -c 3des -x -l userremoved SITE-sw16
Password:
Last login: Fri May 1 19:37:19 2015 from 10.1.1.1
^[[0nSITE-sw16#
SITE-sw16#n
% Incomplete command
SITE-sw16#
Yes, the “n” and control characters above are sic.
And here’s the config in .cloginrc if that helps:
## Arista
add method {SITE-sw[16|17|18]*} ssh
add passprompt {SITE-sw[16|17|18]*} {"\[Pp]assword:"}
add user {SITE-sw[16|17|18]*} {userremoved}
add password {SITE-sw[16|17|18]*} {removed}
add noenable {SITE-sw[16|17|18]*} 1
#
The SITE, IP, username and password have been changed to protect the innocent.
Logging in manually with same username and password doesn’t do this:
rancid at SITE-tools01:~$ ssh userremoved at SITE-sw16
Password:
Last login: Fri May 1 19:40:44 2015 from 10.1.1.1
SITE-sw16#
SITE-sw16#
SITE-sw16#
We use TAC+ for ALL authentication if that adds any help figuring out this problem.
Thanks, Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150501/0cd1b9b6/attachment.html>
More information about the Rancid-discuss
mailing list