[rancid] Scripting clogin with bash and username/password
heasley
heas at shrubbery.net
Thu Feb 13 15:40:58 UTC 2014
Thu, Feb 13, 2014 at 10:22:11AM -0500, Andrew Ohnstad:
> Thanks for the response. The full command line I am using is (I
> automatically am enabled via TACACS+):
>
> sudo -u rancid /usr/libexec/rancid/clogin -u<my-username> -p<my-password>
> -c where <router>
>
> If I add the -d argument to see the expect debugging, I can see that it
> launches the ssh spawn with the correct username, but it is blatantly
> disregarding the password supplied on the command line...
>
> spawn ssh -c 3des -x -l <myusername> <router>
this should work; what version of rancid?
More information about the Rancid-discuss
mailing list