[lug] grabbing /dev/tty i/o
petek at bsod.net
Wed Aug 30 16:44:01 MDT 2000
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.
petek at bsod dot net or pkrawczy at uiuc dot edu
Finger pkrawczy at uiuc dot edu for PGP public key
More information about the LUG