Encrypted home prevents ssh access with keys
Bug #319909 reported by
bodhi.zazen
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
encfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I installed ubuntu 9.04 Alpha 3 and elected to encrypt my home directory.
All went well, but I could not figure out why I could not ssh into my server (I use keys) ...
It was odd in that I could ssh in as another user, su to my admin user, and then I could ssh in with my admin user :)
I use keys and so the default location (I use) was in ~/.ssh/
LOL !!!
To post a comment you must log in.
OK, so an easy fix, well work around
store the keys outside of $HOME and re-configure /etc/ssh/ sshd_config
Add say :
AuthorizedKeysFile /etc/authorized _keys
restart sshd
now you can ssh with keys, but when you do $HOME is STILL encrypted.
from there su <user> and it decrypts
Long work around I know ;)