On 15 December 2017 at 20:01, heasley wrote:
> Fri, Dec 15, 2017 at 03:45:54PM +, Craig Hopkins:
> > Hi,
> >
> > I've tried adding
> >
> > add method HOST {ssh:60022}
> >
> > to my config, but it's still connecting to HOST on port 22. Is there
> > something special to this flag?
> >
> > Running rancid 3.6.2
>
> which device type? does clogin -m HOST display the method you expect?
>
HOST
password:/var/lib/rancid/.cloginrc:924: HOST PASSWORD PASSWORD
user:/var/lib/rancid/.cloginrc:923: HOST USERNAME
method:/var/lib/rancid/.cloginrc:680: * ssh telnet
method:/var/lib/rancid/.cloginrc:925: HOST ssh:60022
Is the first method preventing the second one being triggered? I really
don't want to comment it out and disrupt other hosts. Line 680 is a global
we put in for all subsequent devices.
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss