<div dir="ltr">Hi all;<div><br></div><div>I have a need for to add key-based auth for one user.</div><div><br></div><div>I have edited /etc/ssh/sshd-config and enabled pubkey auth and the path for the keyfile.</div><div><br>
</div><div>if I create the user via useradd -m their directory gets created in /home but adding a key to the keyfile I specified does not allow access.</div><div> </div><div>If I try this for a user I created on a vsite via the blueonyx UI, their account gets made in </div>
<div>/home/.sites/blah/users  but adding the keyfile there also fails to procide access.</div><div>/var/log/secure indicates that the /home/.sites path auth attempt fails due to bad ownership or modes, which isn't surprising as much of the path is owned by root</div>
<div><br></div><div>What do I need to do to get this up and running?  I don't really care if its for a user created via the UI or via the plain old useradd command.</div><div><br></div><div>I set this up on a BSD box in the meantime, no issues.</div>
<div><br></div><div>Thanks for thoughts-</div><div><br></div><div>Brian.</div></div>