[rancid] Issue with custom ports

Craig Hopkins c.o.hopkins at gmail.com
Wed Dec 20 15:24:07 UTC 2017


On 20 December 2017 at 15:17, heasley <heas at shrubbery.net> wrote:

> Wed, Dec 20, 2017 at 11:28:07AM +0000, Craig Hopkins:
> > On 15 December 2017 at 20:01, heasley <heas at shrubbery.net> wrote:
> >
> > > Fri, Dec 15, 2017 at 03:45:54PM +0000, 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
>
> yes.
>
> > don't want to comment it out and disrupt other hosts. Line 680 is a
> global
> > we put in for all subsequent devices.
>
> move the * to the end.
>

Ta, that fixed it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20171220/9c192e10/attachment.html>


More information about the Rancid-discuss mailing list