Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 1996 13:19:33 -0500 (EST)
From:      Andrew Y Ng <ayn@rocket.Ngbert.org>
To:        Darryl Bowler <darrylb@blinx.lizard.org>
Cc:        questions@freebsd.org
Subject:   Re: Password and Telnet
Message-ID:  <Pine.BSI.3.95.961128131752.9680A-100000@rocket.Ngbert.org>
In-Reply-To: <199611281301.NAA20368@blinx.lizard.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

hmmm...
write a file that contains all the passwds;
pgp encryt that file;
in ur script, run pgp to decrpt that file in the beginning;
read the content of that file as the passwd;
remove the file at the end.

/ayn

On Thu, 28 Nov 1996, Darryl Bowler wrote:
> 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.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMp3XrZ6qvWJYgw1hAQEynAQAiH/OLaE9ApcOOY/wnCsq82eoJ+2a9Ys/
TTvv5dz7UU4QjlrzVZG1fNh1rrIoYSOmvjBqR/Jhbtk3ZEaC6nwnQYbOe59HhVaP
1mqSfZ7nIu64zqlKGtA9OBeRBgTJtfwvz1/WOyqRb0yZHKAsY/ZMwiPgIHtqhhI3
re13nGfVT5k=
=WUaK
-----END PGP SIGNATURE-----

--
Andrew Y Ng <ayn@CMU.EDU> http://andrew.Ngbert.org
Carnegie Mellon University; ECE major, Music minor
campus ph: 412/862-2836;  voice mail: 412/268-6700 x30027
talk: finger ayn@andrew.Ngbert.org for online status.
finger ayn@CMU.EDU for more info,
        such as my public key, geekcode, snail address, etc.

	NGBERT!  http://www.Ngbert.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961128131752.9680A-100000>