[rancid] Re: clogin requires .cloginrc entry even if password is set

Dylan Vanderhoof DylanV at semaphore.com
Sat Jan 20 19:17:33 UTC 2007


> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net] 
> Sent: Friday, January 19, 2007 7:13 PM
> To: Dylan Vanderhoof
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] clogin requires .cloginrc entry even if 
> password is set
> 
> 
> Fri, Jan 19, 2007 at 03:08:36PM -0800, Dylan Vanderhoof:
> > Trying to do this from the command line:
> > 
> > HOME=/home/rancid /usr/local/rancid/bin/clogin  -autoenable -c 'show
> > run' -p ******* -u username routername
> 
> it really want an enable password; so add -e ''.  guess we 
> can whack that
> based on -autoenable.
> 

Hm, next question.  How do I do the equivalent of:

add method routername {ssh:12345}

>From the clogin command line?  -Emethod'ssh:12345' didn't seem to work,
and I'm not seeing any way to set the login method in the man page.

Thanks,
Dylan



More information about the Rancid-discuss mailing list