Here's what I use (this forks another process):

$ ssh-agent $SHELL

Then at the next prompt, I do the following:
$ ssh-add

Then, wherever your key is authorised, you can login without a password 
or the public key passphrase (as long as you're in the shell that the
ssh-agent is using).

This only works for one shell though, so you want to use it for X, you'd
have to put ssh-agent and ssh-add in a .xinitrc file (or whatever X you're
using).

-Anne

On Fri, Aug 11, 2000 at 04:34:34PM +0200, Levente Farkas wrote:
> hi,
> hi can I use ssh-agent ? about 5 years ago I use it but I don't remember
> how? I know fill both the authorized_keys and authorized_keys2 and put
> them into the remote site, start X with "ssh-agent startx" and run
> ssh-add, but after it how can I use the agent ? simple "ssh hostname" not 
> working.
> thanks.
> yours.
> 
> ps. please reply to my email too since I'm not on the list.
>  
>  -- Levente
>  "The only thing worse than not knowing the truth is
>   ruining the bliss of ignorance."
> 
-------------------------------------------------------------------------
Anne Carasik                      | Economists state their GNP growth 
Principal Consultant              | projections to the nearest tenth of 
SSH Communications Security, Inc. | a percentage point to prove they have 
Email: [EMAIL PROTECTED]               | a sense of humor. -Edgar R. Fiedler
-------------------------------------------------------------------------
PGP Key fingerprint =  DA01 3999 6A1C 8124 7EA1 345F 4313 736C 1849 1F98
-------------------------------------------------------------------------
Unless stated otherwise above, the opinions expressed herein are my own, 
                            not of my employer.

Reply via email to