[rancid] clogin query

john heasley heas at shrubbery.net
Fri Jan 14 18:35:04 UTC 2011


Fri, Jan 14, 2011 at 03:18:26AM +0000, Chris Kilian:
> Hi all
> 
> I have my rancid working almost totally correctly now with the exception of a few things. I have some devices that although they answer to ssh they are using a different port to 22, in the .clogin.rc file I have all the devices listed as
> 
> Add methos x.x.x.x {ssh}
> 
> Looking at the documentation it seems to say that you can use {ssh:-port} to specify a different port however when I do that I am getting the below in the log files.
> 
> Hostname  fnlogin error: Error: unknown connection method: ssh:-822
> 
> Anyone got any ideas?

assuming that your rancid is recent enough, I dont recall off the top
of my head when this was added, this should work if your ssh uses - for
the port.  the - is usually only for some variations of BSD's telnet
client.


More information about the Rancid-discuss mailing list