Proper way to use 'ssh-agent' and 'ssh-add' ?
John Vetterli
jvetterli-zC6tqtfhjqE at public.gmane.org
Sat Feb 4 20:17:48 UTC 2006
Set up your window manager to be invoked from ssh-agent, kinda like this
sample script:
#!/bin/bash
exec /usr/bin/ssh-agent /usr/X11R6/bin/fluxbox
Now all xterms (and other processes) that your window manager launches
will use the one ssh-agent session, so you only need to enter your
passphrase once per X session.
JV
On Sat, 4 Feb 2006, 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.
--
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