4,461
edits
→Debian/Ubuntu-specific: add Fix (unreachable) prompt for encrypted home folder |
→Fix (unreachable) prompt for encrypted home folder: change the content from obsolete to Enable SSH public key authentication with an ecrypted home folder |
||
Line 269: | Line 269: | ||
= Debian/Ubuntu-specific = | = Debian/Ubuntu-specific = | ||
== | == Enable SSH public key authentication with an encrypted home folder == | ||
''Tested on Ubuntu 16.04 LTS'' | ''Tested on Ubuntu 16.04 LTS'' | ||
<syntaxhighlight lang="bash" highlight="1"> | <syntaxhighlight lang="bash" highlight="1"> | ||
$ | $ /sbin/umount.ecryptfs_private | ||
$ cd $HOME | |||
$ chmod 700 . | |||
$ mkdir -m 700 .ssh | |||
$ chmod 500 . | |||
$ echo $YOUR_REAL_PUBLIC_KEY > .ssh/authorized_keys | |||
$ /sbin/mount.ecryptfs_private | |||
</syntaxhighlight> | </syntaxhighlight> | ||