LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Geoff Russell <geoff@austrics.com.au>
  To  : Alan Kennington <ak.linuxsa@topology.org>
  Date: Wed, 30 Apr 2003 10:16:54 +0930 (CST)

Re: ssh-agent parenting for KDE virtual terminals

On Wed, 30 Apr 2003, Alan Kennington wrote:

> Although I asked about this on this list some months ago, I still haven't
> figured out the answer.
>
> Question:
> How do you make an ssh-agent process the parent of all virtual terminal
> and konsole processes running under KDE.
> ...

add
     eval `/usr/bin/ssh-agent`

to .bash_profile, and add

     eval `/usr/bin/ssh-agent -k`

to .bash_logout

(or to the appropriate login rc files for your shell)

Then you will have an agent whether or not you run an xsession.

Once kde/gnome is started ssh-add in any window will do the job.

Cheers,
Geoff Russell

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page