[lug] grabbing /dev/tty i/o

Atkinson, Chip CAtkinson at Circadence.com
Wed Aug 30 17:13:56 MDT 2000


Wow, thanks!  That really did the trick.  

Chip

-----Original Message-----
From: Pete Krawczyk [mailto:petek at bsod.net]
Sent: Wednesday, August 30, 2000 4:44 PM
To: Atkinson, Chip
Cc: lug at lug.boulder.co.us
Subject: Re: [lug] grabbing /dev/tty i/o


Date: Wed, 30 Aug 2000 16:26:52 -0600
From: "Atkinson, Chip" <CAtkinson at Circadence.com>
Subject: [lug] grabbing /dev/tty i/o

} Does anyone have any suggestions?

Can I suggest instead of doing hardcoded passwords into scripts, if you
trust the machine you're coming from enough to do that, do:

/usr/local/bin/ssh-keygen  (don't enter a passphrase when asked)

You will then have a file, .ssh/identity.pub, which you can put on remote
machines as .ssh/authorized_keys, which will allow non-password access to
those machines for both ssh and scp.

It's better than putting passwords into scripts.  And the only way someone
can spoof it is if they have your .ssh/identity file.

-Pete K
-- 
Pete Krawczyk
  petek at bsod dot net or pkrawczy at uiuc dot edu
  http://www.uiuc.edu/ph/www/pkrawczy/
  Finger pkrawczy at uiuc dot edu for PGP public key




_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list