"They that can give up essential liberty
to obtain a little temporary safety deserve
neither liberty nor safety."
-- B. Franklin, 1759
And to protect your liberty try following...
+--------------------------------------
| How to create and use encrypted file
1. create a file...
dd if=/dev/urandom of=./encrypted.aes bs=1k count=100000
2. loading needed modules...
/sbin/modprobe cryptoloop
/sbin/modprobe aes
( Use "cat /proc/crypto" to find which crypto modules are ready to use.
For permanent use put modprobe commands into /etc/rc.local )
3. setting up the loop device...
/sbin/losetup -e aes /dev/loop0 /data/encrypted.aes
( The command prompts for a password. )
4. creating file system...
/sbin/mkfs.ext3 /dev/loop0
5. mounting the encrypted file...
mkdir /mnt/crypto
mount -t ext3 /dev/loop0 /mnt/crypto/
6. unmounting and detaching the loop device...
umount /mnt/crypto/
/sbin/losetup -d /dev/loop0
X. common using...
mount ./encrypted.aes /mnt/crypto/ -oencryption=aes
( The command prompts for a password. )
umount /mnt/crypto/
For more informations look at: Cryptoloop-HOWTO
+--------------------------------------
| How to mount remote partition secure
For more informations look at: SSH Filesystem
1. installing...
Based on FUSE
Install fuse-sshfs package (from extras in Fedora Core)
2. creating mounting point...
mkdir /mnt/remote
3. mounting...
sshfs user@host:/ /mnt/remote/ -o allow_other
( Depends on distribution and configuration sshfs/fusermount could act
only as root. That's why the allow_other parameter has been used.
You can also specify a directory after the ":" )
4. unmounting...
fusermount -u /mnt/remote/
Enjoy:-)