I'm at a loss for how to unencrypt a locally-mounted but remotely stored EcryptFS. I have never had this issue with EncFS, so I must be doing something wrong with syntax, but just cannot get this right. My goal:
1. Encrypted data is stored on remote computer in folder 1
2. Folder 1 is mounted locally as local Folder A.
3. EcryptFS then decrypts and mounts that as local Folder B
4. Be able to decrypt it on remote computer and local computer
I'm fine up to #3 - I just cannot get it to work. Whenever I run ecryptfs (command 2), I'm prompted to create the volume - it does not unencrypt the locally-mounted encrypted folder. Note that I'm trying to use this for backup purposes (rsync).
Code:
sshfs -o "IdentityFile=~/SSH_keys/<key>" -p 400 user@account.domain.org:/home/username/Backup/EncryptedFolder /home/username/Backup/EncryptedFolder
sudo mount -t ecryptfs /home/username/Backup/EncryptedFolder /home/username/Backup/DecryptedFolder
Thanks for any help!!