4,461
edits
→Fix (unreachable) prompt for encrypted home folder: change the content from obsolete to Enable SSH public key authentication with an ecrypted home folder |
|||
Line 273: | Line 273: | ||
''Tested on Ubuntu 16.04 LTS'' | ''Tested on Ubuntu 16.04 LTS'' | ||
<syntaxhighlight lang="bash | <syntaxhighlight lang="bash"> | ||
$ /sbin/umount.ecryptfs_private | $ /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> | ||