System administration: Difference between revisions

add a link to Some differences between Debian/Ubuntu, RHEL/CentOS, and Slackware
Line 265: Line 265:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ stty -ixon
$ stty -ixon
</syntaxhighlight>
== Enable SSH public key authentication with an encrypted home folder ==
''Last tested on Ubuntu 16.04 LTS''
<syntaxhighlight lang="bash">
$ /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>