[rancid] FW: Rancid 2.3.8 FreeBSD 10.1 Cisco Pix 506e

Andrew Meyer andrewm659 at gmail.com
Tue Jul 14 23:10:17 UTC 2015


its weird, cause its not even working now...teh expect script is throwing
errors. lots.  I'll get the errors for you later.


Andrew Meyer
andrewm659 at gmail.com
ameyer at tsg2.com
314-266-4837

On Tue, Jul 14, 2015 at 5:21 PM, Aaron Wasserott <
aaron.wasserott at viawest.com> wrote:

>  This is all I use to run simple one-liners and tests against a device:
>
>
>
> /usr/local/rancid/bin/clogin -c "show run" 10.20.30.1
>
>
>
> Have you checked the log file for the device that doesn’t work? Rancid is
> usually pretty good about providing a hint as to the issue.
>
>
>
> When testing via clogin, make sure to test against the same hostname used
> in your router.db file. Helps to point out any DNS or stale SSH key issues
> that might be the cause.
>
>
>
> Another thing, if you switch to rancid using su you should use – to ensure
> you get all the proper envvars – that way you shouldn’t need to specify
> path to .cloginrc.
>
>
>
> *From:* Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net
> <rancid-discuss-bounces at shrubbery.net>] *On Behalf Of *Andrew Meyer
> *Sent:* Monday, July 13, 2015 3:15 PM
> *To:* rancid-discuss at googlegroups.com
> *Subject:* [rancid] Rancid 2.3.8 FreeBSD 10.1 Cisco Pix 506e
>
>
>
> For some reason 1 of the Pix 506e I have won't work with RANCID. I got it
> working on another.  I'm not sure what is going on. When I try the clogin
> cmd it times out.
>
>
>
> Also, I'm trying to get it to use SSHv1.
>
>
>
> [rancid at tsg-monitoring01 ~]$ /usr/local/libexec/rancid/clogin -t 120 -c
> "show run" 10.20.30.1
>
> 10.20.30.1
>
> spawn ssh -c 3des -x -l rancid 10.20.30.1
>
> ^C[rancid at tsg-monitoring01 ~]$ /usr/local/libexec/rancid/clogin -t 120 -c
> "show run" 10.20.30.1 -1
>
> 10.20.30.1
>
> spawn ssh -c 3des -x -l rancid 10.20.30.1
>
> ^C[rancid at tsg-monitoring01 ~]$ /usr/local/libexec/rancid/clogin -f
> .cloginrc -t 120 -c "show run" 10.20.30.1 -1
>
> 10.20.30.1
>
> spawn ssh -c 3des -x -l rancid 10.20.30.1
>
> ^C[rancid at tsg-monitoring01 ~]$ /usr/local/libexec/rancid/clogin -t 120 -x
> -1 -c "show run" 10.20.30.1 -1
>
>
>
>
>
> Can someone tell me the syntax?  I have it in the .cloginrc file but its
> not taking.
>   This message contains information that may be confidential, privileged
> or otherwise protected by law from disclosure. It is intended for the
> exclusive use of the addressee(s). Unless you are the addressee or
> authorized agent of the addressee, you may not review, copy, distribute or
> disclose to anyone the message or any information contained within. If you
> have received this message in error, please contact the sender by
> electronic reply and immediately delete all copies of the message.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150714/6b1be77b/attachment.html>


More information about the Rancid-discuss mailing list