Discussion:
[rancid] Extreme Networks x650 Login timeout solved issue
Sylvain 74
2010-06-24 18:00:43 UTC
Permalink
Hi all,

I had the following error using clogin provided with Rancid 2.3.3 to connect to my Extreme Network x650 (XOS 12.3.3.6.xxx) :

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[***@cpt ~]$ bin/clogin. -f .cloginrc -c "show configuration" lapgensw0
lapgensw0
spawn ssh -c 3des -x -l manager lapgensw0

Keyboard-interactive authentication
Enter password for manager:
Error: TIMEOUT reached
[***@cpt ~]$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I had to modify clogin and now it's ok :
[***@cpt bin]$ diff clogin clogin.new
818c818
< set p_prompt "(\[Pp]assword|passwd):"
---
set p_prompt "(\[Pp]assword|passwd|Enter password for .+):"
Please note that 'manager' in the password prompt is my login.

Hope it can help.

sylvain
Sylvain 74
2010-06-25 08:24:01 UTC
Permalink
Objet: Re: [rancid] Extreme Networks x650 Login timeout solved issue
Date: Jeudi 24 juin 2010, 21h13
Thu, Jun 24, 2010 at 06:00:43PM
Post by Sylvain 74
Hi all,
I had the following error using clogin provided with
Rancid 2.3.3 to connect to my Extreme Network x650 (XOS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configuration" lapgensw0         
               
     
Post by Sylvain 74
lapgensw0
spawn ssh -c 3des -x -l manager lapgensw0
Keyboard-interactive authentication
Error: TIMEOUT reached
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Post by Sylvain 74
818c818
<       set p_prompt
"(\[Pp]assword|passwd):"
Post by Sylvain 74
---
       set p_prompt
"(\[Pp]assword|passwd|Enter password for .+):"
Post by Sylvain 74
Please note that 'manager' in the password prompt is
my login.
what is the .+ for?  a username?  should match
that more specifically,
Yes it is a username.
something like \[^ :]+ would do it, i think.  would
you test that?
It works as expected :

[***@cpt bin]$ diff clogin clogin.new
818c818
< set p_prompt "(\[Pp]assword|passwd):"
---
set p_prompt "(\[Pp]assword|passwd|Enter password for \[^ :]+):"
Cheers.

s.
Post by Sylvain 74
Hope it can help.
sylvain
       
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...