On Thu, Feb 03, 2005 at 05:07:02PM -0300, Alejandro Pulver wrote:
> On Thu, 3 Feb 2005 05:02:28 -0600
> Jay Moore <[EMAIL PROTECTED]> wrote:
> > On Tuesday 01 February 2005 06:22 am, Loren M. Lang wrote:
> >
> > > > I need a shell script that initiates a telnet session to another host. I
> > > > h
On Thu, 3 Feb 2005 05:02:28 -0600
Jay Moore <[EMAIL PROTECTED]> wrote:
> On Tuesday 01 February 2005 06:22 am, Loren M. Lang wrote:
>
> > > I need a shell script that initiates a telnet session to another host. I
> > > have come up with the following, but unfortunately it terminates when the
> > >
On Thursday 03 February 2005 06:02 am, Jay Moore wrote:
> > > #! /bin/sh
> > >
> > > (sleep 3;
> > > echo "password";
> > > sleep 3;
> > > echo "ls -la";
> > > sleep 3;
> > > ) | telnet -l user 192.168.0.2
did you try:
#! /bin/sh
while [ 1 ]
do
(sleep 3;
echo "password";
sl
On Tuesday 01 February 2005 06:22 am, Loren M. Lang wrote:
> > I need a shell script that initiates a telnet session to another host. I
> > have come up with the following, but unfortunately it terminates when the
> > script is finished. What I wanted was for the telnet session to remain
> > "aliv
On Sun, Jan 30, 2005 at 05:33:51AM -0600, Jay Moore wrote:
> I need a shell script that initiates a telnet session to another host. I have
> come up with the following, but unfortunately it terminates when the script
> is finished. What I wanted was for the telnet session to remain "alive" and
>
On Sunday 30 January 2005 11:23 pm, Jay Moore wrote:
> As for what I'm trying to do:
> I have a requirement to administer a number of remotely located embedded
> devices; these devices do not support ssh - only telnet. To avoid the
> obvious security issues, I am going to co-locate a "real" compute
Yes, if you want to automatically log yourself in via telnet, then you
will need expect. There's no way to do this via /bin/sh
A-a-a-r-r-r-g-h-h. You are correct!
Actually... I'm not... I just tried this from my machine, and to my
utter surprise, it does work, at least from the commandline.
By
On Sunday 30 January 2005 05:11 pm, Timothy Luoma wrote:
> > I need a shell script that initiates a telnet session to another host.
> >
> > I have come up with the following, but unfortunately it terminates
> > when the script
> > is finished. What I wanted was for the telnet session to remain
> >
On Jan 30, 2005, at 6:33 AM, Jay Moore wrote:
I need a shell script that initiates a telnet session to another host.
I have come up with the following, but unfortunately it terminates
when the script
is finished. What I wanted was for the telnet session to remain
"alive" and
interactive until man
I need a shell script that initiates a telnet session to another host. I have
come up with the following, but unfortunately it terminates when the script
is finished. What I wanted was for the telnet session to remain "alive" and
interactive until manually terminated.
Is there a way to accompli
10 matches
Mail list logo