Re: how to invoke SSH-ADD to read passphrase from a file

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 12/27/04


Date: Mon, 27 Dec 2004 13:44:46 +0100

In comp.security.ssh Michael Heiming <michael+USENET@www.heiming.de>:
> In comp.security.ssh Javed <kjaved@ncs.com.sg>:
>> Hi Richard,

>> Can you please suggest how should i go for it?
>> Our requirement is such that, we want to use public key based
>> authantication and that too it should contain the passpharase.
>> The problem that i am facing is to automate the whole process.
>> As i cant write a script where i can pass the password as one of the
>> parameter to SSH therefore i went through the process of using
> [..]

> Hi Javed!

> You perhaps didn't understood what Richard meant? There's no
> point in having a pass-phrase on a key if you are storing the
> pass-phrase on the system in a text file, it's exactly the same as
> if you are using a key without pass-phrase.

> If you want to use a passport's but have problems getting
> things working, so you only need to enter the passports after a
> reboot, check out keychain which eases things up:

Ops, looks like a combination out of fat fingers + spell-checker,
should be pass-phrase not passport of course.;)

> http://www.gentoo.org/proj/en/keychain/index.xml

-- 
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 345: Having to manually track the satellite.