[rancid] Re: Rancid + ssh

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

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

More information about the Rancid-discuss mailing list