[lug] RE: reference/tutorial for connecting to port 23
matthew.w.mcillece at lmco.com
matthew.w.mcillece at lmco.com
Wed Jul 26 12:48:34 MDT 2000
Unfortunately I'm stuck using a device that only allows a telnet connection
over the Ethernet. It comes that way from the vendor. I need to have my
process running on another machine talk to the device. Does anyone know if
such a thing is possible with telnet?
> -----Original Message-----
> From: Sean Reifschneider [SMTP:jafo at tummy.com]
> Sent: Wednesday, July 26, 2000 12:18 PM
> To: lug at lug.boulder.co.us
> Cc: clue-talk at clue.denver.co.us
> Subject: CLUE-Talk: Re: [lug] reference/tutorial for connecting to
> port 23
>
> On Wed, Jul 26, 2000 at 11:57:22AM -0600, matthew.w.mcillece at lmco.com
> wrote:
> >telnet? I've always expected telnet to be tied to the keyboard that
> >initiated the connection, but now need to pass characters generated by
> >another process through without user intervention, if possible. I've
> been
>
> Unfortunately, telnet wasn't really meant to do that. Depending on
> exactly what you need to do, "ssh" or "expect" are probably what you
> want. For example, with OpenSSH (www.openssh.com) you can do:
>
> tar c / | ssh remotehost 'gzip -9 >/tmp/backup.tar.gz'
>
> I think you can find expect on freshmeat.net -- it allows you to write
> modem-chat-like scripts which work with any program including telnet.
>
> Sean
> --
> "Yes on one, no on two." "Is number one nuke Russia, or number two?"
> -- _Buckaroo_Banzai_
> Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
> tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
More information about the LUG
mailing list