Proper way to use 'ssh-agent' and 'ssh-add' ?

Marc Lijour marc-bbkyySd1vPWsTnJN9+BGXg at public.gmane.org
Sat Feb 4 19:02:49 UTC 2006


On February 4, 2006 01:49 pm, William Park wrote:
> What is proper way to use 'ssh-agent' and 'ssh-add'?
>
> Manpage says, 'ssh-agent' is to be run within login console, like
>     eval `ssh-agent -s`
> and killed with
>     eval `ssh-agent -s -k`
> If I put that in ~/.profile, then I have to type my passphrase on every
> login console or xterm.  Very painful.
>
> I would like to run 'ssh-add' once, either at console or Xterm; and,
> after that, all my ssh activities should lookup 'ssh-agent', whether I'm
> at virtual consoles or Xterms.

I suggest you take a look at keychain...
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list