I got a VPS with a user dedicated to store my files. As i am aware of the current situation with the NSA and many other governments, and my VPS is hosted on a doubtful country i would like to ensure my privacy (not that i have any top-secret file, or anything similar).
I am thinking of making the home folder of my user a truecrypt file, which would be mounted after a successful user login. Is it possible?
And can the SSH login also prompt for the password to mount the file after login and before shell access? Something like: "insert user@host password:" and then "insert home folder password:" before shell access. If wrong it would start the working directory somewhere else, like on fs root. Can it be done?