That doesn't appear to work. I even tried using like "echo -e yes \r\n"
(and other combinations thereof). It hangs at the confirm prompt, I have
to suspend the process then kill it off.
Brian
On Sat, 16 Mar 2002, Gert Doering wrote:
> Hi,
>
> On Sat, Mar 16, 2002 at 01:05:56AM -0600, Brian wrote:
> > Is there a way I can "answer" this and let the router know "yes"? I know
> > that with SNMP or telnet scripting this is easier, but surely there exists
> > a way via RSH to just send the router a postive or negative response to a
> > y/n question.
>
> Try "echo yes | rsh ..."
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
> //www.muc.de/~gert/
> Gert Doering - Munich, Germany gert@greenie.muc.de
> fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de
>
-----------------------------------------------
Brian Feeny, CCIE #8036 e: signal@shreve.net
Network Engineer p: 318.222.2638x109
ShreveNet Inc. f: 318.221.6612
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:37 EDT