[rancid] Re: clogin error

Lance Vermilion rancid at gheek.net
Wed Nov 12 17:16:46 UTC 2008


I would suggest following some of results from here.

http://www.google.com/search?q=rancid+howto

On Wed, Nov 12, 2008 at 3:17 AM, Grace Ingabire <gingabire at rwandatel.rw> wrote:
> Hi Steve,
>
>
>
> I have done it as advised. In my /root/.clogin I have this syntax for all
> our devices:
>
>
>
> add user xxx  peter
>
> add password xxx  password enable password
>
> add method xxx {telnet}
>
>
>
> Where are we supposed to add devices (routers) manually?
>
>
>
> I have tried to test as rancid user and got this:
>
>
>
>
>
> /usr/local/rancid/bin/clogin xxx
>
> spawn telnet xxx
>
> Trying xxx...
>
> Connected to xxx (xxx).
>
> Escape character is '^]'.
>
>
>
>
>
> Cisco Systems Console
>
>
>
>
>
>
>
>
>
> Enter password:
>
>
>
> Enter password:
>
>
>
> Enter password:
>
> Connection closed by foreign host.
>
> spawn ssh -c 3des -x -l rancid xxx
>
> ssh_exchange_identification: Connection closed by remote host
>
>
>
> Error: Connection closed (ssh): xxx
>
>
>
> What is the root cause of this?
>
>
>
> Thanks for your quick reply.
>
>
>
> Regards,
>
> Grace
>
>
>
> ________________________________
>
> From: Steve Ousley [mailto:steve at host-it.co.uk]
> Sent: Wednesday, November 12, 2008 11:57 AM
> To: 'Grace Ingabire'; rancid-discuss at shrubbery.net
> Subject: RE: [rancid] clogin error
>
>
>
> Hi Grace
>
>
>
> All you need to do is make the file not writable by anyone except the user
> that rancid runs as.  You can do this by running the command:
>
>
>
> chmod 600 .cloginrc
>
>
>
> in the home directory of the user that rancid runs as.
>
>
>
> Steve Ousley - SO620-RIPE
>
> Nuco Technologies Ltd
>
> steve at host-it.co.uk
>
> www.nucotechnologies.com
>
> Tel. 0870 165 1300
>
>
>
> Nuco Technologies Ltd is a company registered in England and Wales
> with company number 04470751
>
>
>
> From: rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Grace Ingabire
> Sent: 12 November 2008 08:53
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] clogin error
>
>
>
> Hello,
>
>
>
> I installed and configured rancid properly but when trying to test it with
> /usr/local/rancid/bin/clogin xx.xx.xx.xx, I'm getting this error
>
>
>
> Error: /root/.cloginrc must not be world readable/writable.
>
> Should not we edit this file?
>
>
>
> Need your advice on the .clogin file and where should we add manually all
> devices.
>
>
>
> Thanks.
>
>
>
> Regards,
>
> Grace
>
>
>
> _______________________________________________
> 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