<html><div style='background-color:'><DIV class=RTE>
<P>Hi, </P>
<P>just wondering why the following command doesn't work. </P>
<P>clogin -c 'telnet xxx.xxx.xxx.xxx' yyy.yyy.yyy.yyy </P>
<P>'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?</P>
<P>Thank You <BR><BR>Salman Abdollahi </P>
<P>Software Engineer</P>
<P>Boardwalk Communication Ltd. </P>
<P>Vancouver, BC, Canada <BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
<DIV></DIV>From: <I>john heasley <heas@shrubbery.net></I><BR>To: <I>"Freeman, Michael" <mfreeman@multimax.com></I><BR>CC: <I>rancid-discuss@shrubbery.net</I><BR>Subject: <I>[rancid] Re: Rancid + ssh</I><BR>Date: <I>Wed, 26 Jul 2006 13:11:36 -0700</I><BR>>Wed, Jul 26, 2006 at 02:40:00PM -0500, Freeman, Michael:<BR>> > Is it possible to make rancid use the SSH protocol to simply connect to<BR>> > a device, execute 1 command, and capture the output somewhere?<BR>> > _______________________________________________<BR>> > Rancid-discuss mailing list<BR>> > Rancid-discuss@shrubbery.net<BR>> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<BR>><BR>>Configure your .cloginrc for ssh.<BR>><BR>>clogin -c 'show version' host1 host2 host3 > output
2>&1<BR>>_______________________________________________<BR>>Rancid-discuss mailing list<BR>>Rancid-discuss@shrubbery.net<BR>>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<BR></FONT></BLOCKQUOTE></div></html>