On 2008-09-10, Toni Mueller <[EMAIL PROTECTED]> wrote:
> /etc/ssh/sshd_config: PermitRootLogin without-password
>
>=> root login with ssh keys works, as expected.
>
> I've created another user, uid 1000, on the same box, and copied root's
> authorized_keys file over, adjusted ownership, permissions etc...
>
>=> SSH login (from the same remote user) does _NOT_ work.
>
> I've added that user to the group 'wheel'
>
>=> SSH login works
>
> I've removed said user from the group 'wheel'
>
>=> SSH login no longer works

Does this apply?


             If this file, the ~/.ssh directory, or the user's home directory
             are writable by other users, then the file could be modified or
             replaced by unauthorized users.  In this case, sshd will not al-
             low it to be used unless the StrictModes option has been set to
             ``no''.  The recommended permissions can be set by executing
             ``chmod go-w ~/ ~/.ssh ~/.ssh/authorized_keys''.

Specifically, is the user's home directory writable by wheel?

Reply via email to