Is it possible to allow one user to connect via SSH when that user's home directory is g+w
?
As I understand it, I can allow this if I set StrictModes no
in /etc/ssh/sshd_config
, but that would mean every other user would be able to move anyone else's ~/.ssh
.
Are there any other ways to do this?
A previous server was set up with the user's home directory as a+w
, but public key ssh was still possible. Its sshd_config also had StrictModes yes
, so I suspect there must be some way to do this.
Currently, the user can login over public key ssh when the home directory is 700
, but if I change that to any other group-writable value, he cannot.