Linked by Thom Holwerda on Sun 18th Feb 2007 19:51 UTC, submitted by anonymous
Permalink for comment 214331
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.





Member since:
2005-08-31
I run my window-manager as a child-process of ssh-agent. At startup, the window-manager runs "ssh-add", which invokes an X11 program (ssh-askpass) prompting me for my private key's password. From then on, I can log in to remote hosts using that key, without entering my password anymore (the ssh client programs get the unencrypted key from the ssh-agent via $SSH_AUTH_SOCK). When quitting my window-manager, the ssh-agent also quits and the unencrypted private key is no longer available.
This is a strong combination of ssh-key's security & convenience.