Am Mittwoch, 8. Juni 2005 19:44 schrieb Niall O Broin:
> On 8 Jun 2005, at 19:24, Michael Armbrecht wrote:
> > Just add "ssh-add" to ~/.xinitrc or /etc/X11/xinit/xinitrc. Should
> > automatically call ssh-askpass (at least it does it on my SuSE9.3 box).
> > It's probably already in there, just commented.
>> Bingo Michael - that did the trick. Mind you, I'm still puzzled as to
> why doing the same thing either via .kde/env or .kde/Autostart didn't
> work - ssh-askpass was called, but the agent never got the key.
My guess is this: ssh-agent is usually called either with "/bin/bash" or some
other shell as argument, then being ``inside'' that shell, you add
keys/identities. In this case it's not a shell, but X. If you do it
in .kde/Autostart that's not the same -- X is already running, so if you add
a key, it can't reach/see the ssh agent. Probably badly explained...
Michael
--
There cannot be a crisis next week. My schedule is already full.
-- Henry Kissinger
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!