[lug] ssh-agent under KDE and KNOPPIX
neal at bcn.boulder.co.us
Mon Jun 21 16:15:55 MDT 2004
In the meantime, this is one more general way to do
part of what I want. It only gets to interactive
bash shells, but that is the most typical way that
I start ssh sessions.
in .profile (or .bash_profile):
ssh-agent | grep -v echo > ~/.ssh-agent-vars
if [ -f ~/.ssh-agent-vars ]; then
And then somewhere like .kde/Autostart, or by hand:
Re: the latter, I tried just putting a script in my Autostart
directory and it didn't seem to run. But there is a
.directory file there - perhaps some magic is needed to
On Mon, Jun 21, 2004 at 04:40:02PM -0400, Michael D. Hirsch wrote:
> On Monday 21 June 2004 04:13 pm, Neal McBurnett wrote:
> > Anyone know how to get KDE to use ssh-agent right (i.e. as parent to
> > all applications)? googles I've found refer to stuff that doesn't
> > work, at least under knoppix 3.4.
> > See http://www.knoppix.net/docs/index.php/ssh-agent%20and%20KNOPPIX
> > for a wiki page with "the story so far"...
> Hmm. It looks like you already know my trick. In my ~/.Xclients file I have
> exec ssh-agent $HOME/.Xclients-default
> and inside .Xclients-default it has
> exec startkde
> So my only difference is that I use .Xclients and you tried .xsession.
> Basically you need to find where startkde is run from and replace startkde
> with "ssh-agent startkde". I don't know how knoppix does it.
> My final trick is to have a startup script in .kde/Autostart which runs
> ssh-add ~/.ssh/id_rsa
> and this puts up a dialog box to type my passphrase into.
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
More information about the LUG