On Tue, 29 Mar 2005, Tom Van Doorsselaere wrote:

> Looks like everything is configured fine, for SSHD that is.
> Unfortunately PAM also comes into the game.
>
> I had a similar error some time ago. If I'm not mistaken, I had to
> adjust /etc/pam.d/sshd to something like this:
>
> -------------/etc/pam.d/sshd---------------
> account    required     pam_stack.so service=system-auth
> password   required     pam_stack.so service=system-auth
> session    required     pam_stack.so service=system-auth
> auth       required     /lib/security/pam_warn.so
> auth       required     /lib/security/pam_deny.so
> -------------------------------------------
>
> The last two lines are there to remove password logins.

You shouldn't need to mess with PAM config files to use key auth with ssh
- this sounds like a workaround rather than a fix for the original
problem. In my case, everything just worked, out of the box, I didn't need
to mess with configs for sshd or PAM.


-- 

--
gentoo-user@gentoo.org mailing list

Reply via email to