As with most encrypted filesystems, Encfs is meant to provide security against off-line attacks; ie your notebook or backups fall into the wrong hands, etc. The way Encfs works is different from the “loopback” encrypted filesystem support built into the Linux kernel because it works on files at a time, not an entire block device. This is a big advantage in some ways, but does not come without a cost.
With this application you can have a private folder that is accessable only when you mount it with password. All the files are encrypted and not usable unless you mount it with proper password.
By default the password is "sysadmin". Since the input of password is needed you need to mount it manualy from SSH session using command:
To change the default password type this:
/home/epkg/bin/encfsctl passwd /home/sysadmin/.encfs
To mount it manualy without using my script and maybe with extra switches type:
sudo -u sysadmin /home/epkg/bin/encfs /home/sysadmin/.encfs /home/Public/encfs -- -o allow_other
And to unmount:
/home/epkg/bin/fusermount -u /home/Public/encfs/
After mount you can copy the files to folder:
When you unmount it the folder will be empty. DO NOT COPY FILES TO IT.
Actual encrypted files are located in /home/sysadmin/.encfs folder.
Give it a try and post your comments here.