Default ownership of ~/.ssh?

Jeremy Johnstone jsjohnst at
Mon Oct 18 08:59:40 PDT 2004

Although SSHD is running as sshd/sshd, it still started as root and
retains part of it's root privileges.

On Mon, 18 Oct 2004 07:57:42 -0700, Kevin P. Fleming
<kpfleming at> wrote:
> Kevin P. Fleming wrote:
> > How do you all handle your .ssh directories for users? Since we have
> > sshd running as user "sshd" and group "sshd", it would make sense to
> > have ~/.ssh group-owned by sshd and group-sticky turned on. This allows
> > the directory to not be world-readable, and doesn't require the sshd
> > user to be in the users' "primary group".
> Ack, never mind, this wasn't the solution to the problem I'm trying to
> solve anyway. Changing the .ssh directories back to normal permissions
> and ownership still works fine.
> --
> FAQ:
> Unsubscribe: See the above information page

Jeremy Johnstone

More information about the blfs-support mailing list