LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Adding an identity to ssh-agent at KDE start

[ILUG] Adding an identity to ssh-agent at KDE start

Michael Armbrecht marmbrecht at eircom.net
Wed Jun 8 21:59:40 IST 2005


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



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell