how to setup .ssh directory inside an encrypted volume on Mac OSX and still have public key logins?
- by Vitaly Kushner
I have my .ssh directory inside an encrypted sparse image.
i.e. ~/.ssh is a symlink to /Volumes/VolumeName/.ssh
The problem is that when I try to ssh into that machine using a public key I see the following error message in /var/log/secure.log:
Authentication refused: bad ownership or modes for directory /Volumes
Any way to solve this in a…