Re: gdm and ssh keys



Le Thursday 28 April 2005 à 14:46, josh a écrit:
> Volker Stolz wrote:
> > Am 28. Apr 2005 um 11:24 CEST schrieb josh:
> > 
> >>have login based on an ssh-key and passphrase instead of on a password
> > 
> > 
> > Take a look at pam_ssh.
> 
> yes. that's exactly what I was looking for. now if I can just get it to
> work...

If you have Debian:
- apt-get install libpam-ssh
- cat /usr/share/doc/libpam-ssh/README.Debian
- vim /etc/pam.d/gdm

If you have Gentoo:
 - emerge app-crypt/pam_ssh
 - vim /etc/pam.d/system-auth

For example, here is my /etc/pam.d/gdm file on my Debian system:

auth    requisite       pam_nologin.so
auth    required        pam_env.so
@include common-auth
@include pam-ssh-auth
@include common-account
session required        pam_limits.so
@include common-session
@include pam-ssh-session
@include common-password

-- 
Alban



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]