[rancid] Re: Extreme Networks x650 Login timeout solved issue
Sylvain 74
sylvain74230 at yahoo.fr
Fri Jun 25 08:24:01 UTC 2010
--- En date de : Jeu 24.6.10, john heasley <heas at shrubbery.net> a écrit :
> De: john heasley <heas at shrubbery.net>
> Objet: Re: [rancid] Extreme Networks x650 Login timeout solved issue
> À: "Sylvain 74" <sylvain74230 at yahoo.fr>
> Cc: "john heasley" <heas at shrubbery.net>
> Date: Jeudi 24 juin 2010, 21h13
> Thu, Jun 24, 2010 at 06:00:43PM
> +0000, 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
> 12.3.3.6.xxx) :
> >
> >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > [rancid at 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
> > [rancid at cpt ~]$
> >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> > I had to modify clogin and now it's ok :
> > [rancid at 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.
>
> 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 :
[rancid at cpt bin]$ diff clogin clogin.new
818c818
< set p_prompt "(\[Pp]assword|passwd):"
---
> set p_prompt "(\[Pp]assword|passwd|Enter password for \[^ :]+):"
Cheers.
s.
> > Hope it can help.
> >
> > sylvain
> >
> >
> >
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
More information about the Rancid-discuss
mailing list