[rancid] clogin error

Jason Dotray dotrainexpress at gmail.com
Tue Jan 7 13:36:13 UTC 2014


Thanks Alan!

I ran bin/clogin x.x.x.x and it came back with:

-bash-4.2$ bin/clogin x.x.x.x

x.x.x.x

spawn ssh -c 3des -x -l admin x.x.x.x

Connection closed by x.x.x.x

Error: Connection closed (ssh): x.x.x.x

I did some testing and ssh -x -l admin x.x.x.x works fine but it fails when
I throw in the -c and specify 3des. It appears I'm not running the proper
encryption software on the switch.

Thanks for the help and suggestion!


On Mon, Jan 6, 2014 at 4:24 PM, Alan McKinnon <alan.mckinnon at gmail.com>wrote:

> On 06/01/2014 23:08, Jason Dotray wrote:
> > Hello -
> > I've been successfully running Rancid to backup my switches for about 4
> > months. I updated the code on one of my cisco switches and after
> > rebooting it, rancid reports that it cannot connect to it. Checking the
> > /usr/local/rancid/var/logs file, the most recent file states:
> >
> > clogin error: Error: Connection closed (ssh)
> >
> > However, I can successfully ssh admin at x.x.x.x and connect to the switch
> > without any issues while logged in as rancid or root.
> >
> > Any suggestions on what else I can try?
>
> To debug clogin issues the best approach by far is to log in as the user
> rancid runs as and run
>
> clogin <hostname>
>
> where <hostname> is whatever you have in .cloginrc.
> Login issues are immediately apparent this way and the output does not
> make it into rancid's logs. All you get there is a generic message that
> essentially says "something went wrong"
>
>
> --
> Alan McKinnon
> alan.mckinnon at gmail.com
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140107/21b9d0e4/attachment.html>


More information about the Rancid-discuss mailing list