[rancid] Can't login to device

Hinote, Scotty (MSFC-IS40)[NICS] willie.s.hinote at nasa.gov
Wed Oct 16 14:12:59 UTC 2013

You can also try to telnet to your device directly.

telnet -d ryan at

This will open a telnet session in debug mode. It will display verbose output that should give an explicit error. If clogin isn't reporting any error messages then the server is most likely not able to connect to the device; firewall, ACL, no route to device.


-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Alan McKinnon
Sent: Wednesday, October 16, 2013 7:29 AM
To: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Can't login to device

On 16/10/2013 14:08, Ryan Johnson wrote:
> Hello,
> I used http://openmaniak.com/rancid_tutorial.php tutorial for installing Rancid on my Windows + Cygwin machine.
> However I cannot connect to any device via "clogin x.x.x.x". To be honest, I have no idea why. 
> I have ping, telent and ssh working from my cygwin machine to my network equipment.
> Let's assume that I have catalyst 2600 switch with local username and password. I can access it via telnet.
> In my .cloginrc file there are lines as above:
> add method telnet
> add user ryan 
> add password magicPass enablePass
> At /home/rancid/var/groupName/router.db looks like that:
> But when I'm trying to execute clogin command, nothing happens:
> Administrator at backup /home/rancid
> $ /home/rancid/bin/clogin
> Administrator at backup /home/rancid
> Can anyone help?

The lack of output is extremely unusual.

Check permissions on ~/.cloginrc, the file cannot be world readable or
writeable. I've had it silently fail on me before.

then try

clogin -d <host>

the output is very verbose, so it's best to redirect it or pipe it to
less and examine it closely.

Alan McKinnon
alan.mckinnon at gmail.com

Rancid-discuss mailing list
Rancid-discuss at shrubbery.net

More information about the Rancid-discuss mailing list