[rancid] Re: Rancid + ssh

john heasley heas at shrubbery.net
Wed Jul 26 22:52:50 UTC 2006


Wed, Jul 26, 2006 at 03:50:51PM -0700, john heasley:
> Wed, Jul 26, 2006 at 10:11:26PM +0000, SALMAN ABDOLLAHI VAYEGHAN:
> > <div style='background-color:'><DIV class=RTE>
> > Hi, 
> > just wondering why the following command doesn't work. 
> > clogin -c 'telnet xxx.xxx.xxx.xxx'  yyy.yyy.yyy.yyy 
> > 'y' acts as a gateway and 'x' works as workstation inside the network. I am able to connect to 'y' device easily...but it won't connect to 'x' device for some reason...it says "timeout expired!" even though the passwords and everthing else is been set in .cloginrc file.  Can anyone help me with this?
> 
> because the script expect to talk to the top-level CLI and has no knowledge
> of commands requiring/accepting & prompting for additional values.
> 
> eg:         < prompt
>     command > 
>             < output
>             < prompt
>     exit    > 
>             < eof

I forgot to mention, not that I & others haven't before now, that you can
handle such things with -s and -x...for varying degrees of handle.



More information about the Rancid-discuss mailing list