[rancid] Re: 'out of band' access script changes?

Sherrill, Justin jsherrill at currentcomm.net
Mon Nov 27 16:28:14 UTC 2006

Alright, then to sum up for future people who may encounter this

If the target device for Rancid is on a separate network that can't be
accessed directly from the machine Rancid is on, but can be accessed
from a gateway device, here's the steps to reach that remote router.

In .cloginrc:

   add method telnet
   add user your_gateway_router_username
   add password {your_gateway_router_password}
   add method {usercmd}
   add user your_remote_switch_username
   add password {your_ remote_switch_password} {your_
   add usercmd {clogin} {-noenable} {}
   add usercmd_chat {>} {telnet far-router\r} {User Access
Verification} {}

clogin needs to be patched with Ed Ravin's changes here:

The {>} in the above example needs to be changed to match whatever shows
up on the gateway system's prompt.  

Credit goes to Ed Ravin for getting this all to work.  Ed, I owe you
beer/cookies; mail me what brand/recipe you prefer and where to send

The information in this email may be confidential and/or privileged. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this message from your system. 

More information about the Rancid-discuss mailing list