Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 1996 20:33:08 -0500
From:      rhh@ct.picker.com (Randall Hopper)
To:        darrylb@blinx.lizard.org (Darryl Bowler)
Cc:        questions@freebsd.org
Subject:   Re: Password and Telnet
Message-ID:  <Mutt.19961201203308.rhh@elmer.ct.picker.com>
In-Reply-To: <199611281301.NAA20368@blinx.lizard.org>; from Darryl Bowler on Nov 28, 1996 13:01:52 %2B0000
References:  <199611281301.NAA20368@blinx.lizard.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Darryl Bowler:
 |This may sound like a dumb question to ask, but...
 |
 |At work I have lots of devices that I want to log into but only can via
 |telnet.  I want to do this by a script of sorts, but the problem I have
 |is how do I pass a password to telnet via a script.

The most convenient way I've found to do this is with Perl.  I've been
using David Noble's Sock.pm and Telnet.pm modules, but as I can't seem to
track down where I got these to provide a pointer, you may just want to
start with the relevent FAQ entry instead:

     http://www.perl.com/perl/faq/Q5.20.html
     http://www.perl.com/ftp/perl/CPAN/doc/FAQs/FAQ/html/Q5.20.html
     http://www.perl.com/perl/doc/FAQs/FAQ/html/Q5.20.html

Randall Hopper
rhh@ct.picker.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961201203308.rhh>