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

Michael Newton mnewton at pofp.com
Wed Jun 3 18:34:53 UTC 2015


Yes it does; we are pulling configs from remote client sites via NAT, not local machines, so we want the port number in the file name anyway.


--

Michael Newton
Director, Product Development
Point of Presence Technologies


From:  heasley
Date:  Wednesday, June 3, 2015 at 11:30 AM
To:  Michael Newton
Cc:  Lukasz Sokol, "rancid-discuss at shrubbery.net"
Subject:  Re: [rancid] .cloginrc add method hostname {ssh:-port} for mtlogin/mtrancid?

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150603/2e2567d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5966 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150603/2e2567d5/attachment.bin>


More information about the Rancid-discuss mailing list