permission denied ssh auth error on custom home dir automounted
I have 2 system accounts, one with homedir /home/admin and the other /web. /web is a mount point (ext4 fs) for a disk I configured via the linode manager. I have verified that authorized_keys has the same exact content, but I am getting permission denied message when trying ssh key-based authentication.
ls -la /web/.ssh
total 12
drwx------. 2 deploy deploy 4096 Feb 13 15:09 .
drwx------. 4 deploy deploy 4096 Feb 13 15:08 ..
-rw-------. 1 deploy deploy 746 Feb 13 16:32 authorized_keys
ls -la /home/admin/.ssh
total 12
drwx------. 2 admin admin 4096 Feb 13 13:42 .
drwx------. 3 admin admin 4096 Feb 13 15:04 ..
-rw-------. 1 admin admin 746 Feb 13 13:41 authorized_keys
Works (admin account):
ssh admin@<ip>
Last login: Wed Feb 13 17:30:23 2019 from …</ip>
Doesn't work (deploy account):
ssh deploy@<ip>
deploy@<ip>: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).</ip></ip>
Any ideas?