You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 10th 2005, 10:03am

reuse kdm password for ssh-agent

Hi all,

I know one can customize the way a kde session is started so as all the applications of this session are children of a ssh-agent process. But it still requires to use ssh-add explicitly to add a key in the ssh-agent.

What I would like to know is wether it would be possible for kdm to not only start a ssh-agent as the father of all the processes of a given session but also to register the user's private keys based on the password typed by the user in kdm.

This way, when the user logs in, all its unprotected private keys are automatically loaded in ssh-agent and all its private keys protected by the same password as the password typed in kdm are also automatically loaded.

Thank you.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Tuesday, May 10th 2005, 1:27pm

Assuming that your system uses PAM for the athentification, you could check if there is a PAM module for doing that.

Cheers,
_
Qt/KDE Developer
Debian User

3

Tuesday, May 10th 2005, 9:17pm

Thank you very much for your answer, I didn't though of PAM.

pam-ssh is just what I want, see : http://pam-ssh.sourceforge.net/

Simple and works great for me,
Pascal.