[rancid] .cloginrc add method hostname {ssh:-port} for mtlogin/mtrancid?

Lukasz Sokol el.es.cr at gmail.com
Thu Jun 4 09:24:10 UTC 2015


On 03/06/15 19:30, heasley wrote:
> Wed, Jun 03, 2015 at 04:42:25PM +0000, Michael Newton:
>> If you’re looking to connect to a custom port number, this is what we do. Not sure if you can use it or not, but thought it might help someone.
>>
>> /var/rancid/foo/router.db:
>> host.example.com:2222;hp;up;HP switch 22
>>
>> host.example.com:3222;aruba;up;Aruba switch 32
> 
> indeed, if your client supports that.  but the port will appear in the
> RCS filename, if i am not mistaken.

For this reason I'd rather have it working the 'right way', unless I have my script method 
explicitly call that device on that port ... 

> 
> Lukasz, I'd still like to know why the patch isnt working for you.  I
> suspect that your issue is unrelated.
> .
> 
Yeah sorry I will send reply to previous message shortly.

Lukasz


More information about the Rancid-discuss mailing list