<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 20 December 2017 at 15:17, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wed, Dec 20, 2017 at 11:28:07AM +0000, Craig Hopkins:<br>
<span class="">> On 15 December 2017 at 20:01, heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:<br>
><br>
> > Fri, Dec 15, 2017 at 03:45:54PM +0000, Craig Hopkins:<br>
> > > Hi,<br>
> > ><br>
> > > I've tried adding<br>
> > ><br>
> > > add method HOST {ssh:60022}<br>
> > ><br>
> > > to my config, but it's still connecting to HOST on port 22. Is there<br>
> > > something special to this flag?<br>
> > ><br>
> > > Running rancid 3.6.2<br>
> ><br>
> > which device type? does clogin -m HOST display the method you expect?<br>
> ><br>
><br>
> HOST<br>
> password:/var/lib/rancid/.<wbr>cloginrc:924: HOST PASSWORD PASSWORD<br>
> user:/var/lib/rancid/.<wbr>cloginrc:923: HOST USERNAME<br>
> method:/var/lib/rancid/.<wbr>cloginrc:680: * ssh telnet<br>
> method:/var/lib/rancid/.<wbr>cloginrc:925: HOST ssh:60022<br>
><br>
> Is the first method preventing the second one being triggered? I really<br>
<br>
</span>yes.<br>
<span class=""><br>
> don't want to comment it out and disrupt other hosts. Line 680 is a global<br>
> we put in for all subsequent devices.<br>
<br>
</span>move the * to the end.<br>
</blockquote></div><br></div><div class="gmail_extra">Ta, that fixed it</div></div>