This one time, at band camp, Robert Collins wrote:
>On Tue, 2003-07-08 at 15:40, Jamie Wilkinson wrote:
>> Hey slugs,
>>
>> 2 parts to this:
>>
>> Does anyone know of a way to have a single ssh-agent running on a machine
>> per user, so that when they log in on the console, or via {k,g,x}dm, or ssh,
>> only one ssh-agent is running?
>
>You may like keychain.
Looks interesting. Who'd have thought something useful would come out of
the gentoo project? :-)
>> Does anyone know how to have ssh keys loaded into ssh-agent without having
>> ssh-add ask for a passphrase, until that key is used? So I can have all the
>> keys I use loaded at ssh-agent start, but I get prompted for a passphrase on
>> the key only when ssh tries to use that key? Or perhaps a way for the key
>> to get added to ssh-agent when ssh needs it?
>
>I suspect this is impossible. The key is not usable until it's decrypted
>by the passphrase. Until it's decrypted, it can't be used in
>handshaking: thus all keys need to be known before the first ssh
>handshake of a given protocol.
Ok, thanks. I'll probably do something with a shell script wrapper that
does the ssh-add for me depending on which host I'm connecting to, then.
--
[EMAIL PROTECTED] http://spacepants.org/jaq.gpg
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug