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

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sat Feb 4 18:49:54 UTC 2006


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.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/
--
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