We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Guidelines for our public-facing, Ubuntu-like servers.
TODO: create a Docker baseimage with all this stuff baked in and switch to a cloud provider that lets us "run Docker containers as the host".
Add our public key to /root/.ssh/authorized_keys.
/root/.ssh/authorized_keys
Disable password-based login by adding this line to /etc/ssh/sshd_config:
/etc/ssh/sshd_config
PasswordAuthentication no
Restart the SSH server:
/etc/init.d/ssh restart
Install:
apt-get install unattended-upgrades update-notifier-common
Run this, answering "yes" (it will create /etc/apt/apt.conf.d/20auto-upgrades):
/etc/apt/apt.conf.d/20auto-upgrades
dpkg-reconfigure --priority=low unattended-upgrades
Add this line to /etc/apt/apt.conf.d/50unattended-upgrades:
/etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Automatic-Reboot "true";
And uncomment out this line:
//Unattended-Upgrade::Mail "root";
Tip: to trigger an update run:
unattended-upgrade -d