Matt Almgren
2015-05-01 19:54:48 UTC
Hi, Im seeing some extra characters appear on the lines after logging in to Arista switches.
Heres an example:
***@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 heres 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 doesnt do this:
***@SITE-tools01:~$ ssh ***@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
Heres an example:
***@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 heres 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 doesnt do this:
***@SITE-tools01:~$ ssh ***@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