[rancid] Re: New device on .cloginrc
Wagner Pereira
wpereira at pop-sp.rnp.br
Fri Apr 16 20:44:46 UTC 2010
Mickael,
Yes, my .cloginrc is exactly like the below (omitting all the real
values, obviously):
add password 10.0.0.2 {vty passwd} {enable passwd}
add user 10.0.0.2 user
add userprompt 10.0.0.2 {"Username:"}
add passprompt 10.0.0.2 {"Password:"}
add method 10.0.0.2 {ssh} {telnet}
add enableprompt 10.0.0.2 {"Password:"}
add cyphertype 10.0.0.2 {3des}
I already have another device rancid'ing perfectly, that means my
.cloginrc lines are correctly written, since I declared it at the same
way that the above.
Hugs,
--
Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
Em 16/4/2010 11:09, Mickael GARNIER escreveu:
> Hi,
>
> do you have a 'add user' entry in your .cloginrc ?
>
> it should be like :
> add user<host> <user>
> add password<host> <password> <enable-password>
> add method<host> ssh
>
> MG
>
>
> Le 16/04/2010 15:46, Drikus Brits a écrit :
>
>> Hi,
>>
>> The root user is most likely because clogin is being executed as the root user, ie: you're logged in as root when you try to clogin into your router.
>>
>> Hope this helps,
>>
>> Drikus.
>>
>> -----Original Message-----
>> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Wagner Pereira
>> Sent: 16 April 2010 03:40 PM
>> Cc: Rancid Mailing List
>> Subject: [rancid] Re: New device on .cloginrc
>>
>> Ryan,
>>
>> When I try to connect to my device using /home/rancid/bin/clogin, this
>> is what I get:
>>
>> --------------------
>> spawn ssh -c 3des -x -l root 10.0.0.2
>> root at 10.0.0.2's password:
>> --------------------
>>
>> But, there is no root user written in my .cloginrc file.
>>
>> Where does this root user should come from?
>>
>> Hugs,
>>
>>
>>
> Post-scriptum La Poste
>
> Ce message est confidentiel. Sous reserve de tout accord conclu par
> ecrit entre vous et La Poste, son contenu ne represente en aucun cas un
> engagement de la part de La Poste. Toute publication, utilisation ou
> diffusion, meme partielle, doit etre autorisee prealablement. Si vous
> n'etes pas destinataire de ce message, merci d'en avertir immediatement
> l'expediteur.
>
> _______________________________________________
> 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