McKenn55
Cadet
- Joined
- Aug 4, 2014
- Messages
- 4
I'm sure this issue has been discovered before by others, but I am not finding the solution myself.
I've got FreeNAS-9.3-STABLE-201509160044 running on my server. It has a single zpool using encryption mounted at /mnt/MyRaidName/. My user account is username1 and that user's home directory is located at /mnt/MyRaidName/Home/username1. That user account is the only one permitted to SSH into the machine and I've set it up to work with public key authentication. I've tested this thoroughly and have no issues with the public key authentication. However, after a reboot, the zpool is locked, due to the encryption, and therefore, my user's home directory and the keyfile are unavailable. SSH denies me access until I log into the web interface and enter the zpool's passphrase. I would prefer to not move my username1 user's home directory outside of the zpool if at all possible. Is there another way I can handle this so that my user can connect to the freenas instance using my established public key via ssh even when the zpool is locked or otherwise unavailable?
I've got FreeNAS-9.3-STABLE-201509160044 running on my server. It has a single zpool using encryption mounted at /mnt/MyRaidName/. My user account is username1 and that user's home directory is located at /mnt/MyRaidName/Home/username1. That user account is the only one permitted to SSH into the machine and I've set it up to work with public key authentication. I've tested this thoroughly and have no issues with the public key authentication. However, after a reboot, the zpool is locked, due to the encryption, and therefore, my user's home directory and the keyfile are unavailable. SSH denies me access until I log into the web interface and enter the zpool's passphrase. I would prefer to not move my username1 user's home directory outside of the zpool if at all possible. Is there another way I can handle this so that my user can connect to the freenas instance using my established public key via ssh even when the zpool is locked or otherwise unavailable?
Last edited: