Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running FreeBSD and I'd like to have user's files stored encrypted using his/her password, and have seamless SSH access to those files as well (provided that the user always uses password-based authentication).

In Ubuntu this exact process is possible with Encrypted Home Directory.

Is it possible in FreeBSD?

If not, is there any other way to setup encryption of user files transferred via SSH using the password of the user as the encryption key?

share|improve this question

1 Answer 1

Freebsd has a kernel module, pefs, that can perform filesystem (directory) encryption. http://www.bsdnow.tv/tutorials/pefs has a tutorial on encrypting a user's home directory and tying that to PAM at login.

share|improve this answer
    
pefs currently doesn't work with SSH PAM auth –  RustyX Sep 10 at 10:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.