I have my FreeNAS setup so I can remotely access it via ssh using a private key. I'm away from home for an extended trip, but when I received an email that a FreeNAS update is available, I opened an ssh tunnel as I typically do, and through SOCKS5 was able to use the WebUI to update the system. However, when I tried to ssh back in after the system reboot, my key is being rejected. Presumably, the problem is it's unable to compare the keys because my volumes are encrypted.
So the question is: is there a way I can remotely decrypt the volume when the only way I can usually get in is over ssh with a private key?
A similar question was asked a few years ago: https://forums.freenas.org/index.php?threads/how-do-i-decrypt-my-zfs-drive-via-ssh.17198/
but I don't see how the "solution" can be adapted to my situation. I tried the unlock API code posted there, but unsurprisingly python requests returned a "bad handshake" "unknown protocol" error.
Any ideas? I'm open to a 'future solution' too, that I wouldn't be able to implement until I'm back home.
So the question is: is there a way I can remotely decrypt the volume when the only way I can usually get in is over ssh with a private key?
A similar question was asked a few years ago: https://forums.freenas.org/index.php?threads/how-do-i-decrypt-my-zfs-drive-via-ssh.17198/
but I don't see how the "solution" can be adapted to my situation. I tried the unlock API code posted there, but unsurprisingly python requests returned a "bad handshake" "unknown protocol" error.
Any ideas? I'm open to a 'future solution' too, that I wouldn't be able to implement until I'm back home.