Skip to content

Instantly share code, notes, and snippets.

@asksven
Last active January 10, 2017 21:10
Show Gist options
  • Save asksven/08c4c0bb66d6c451c3c0fe90eae4f90a to your computer and use it in GitHub Desktop.
Save asksven/08c4c0bb66d6c451c3c0fe90eae4f90a to your computer and use it in GitHub Desktop.
Ubuntu Server base install
apt-get update && apt-get upgrade
apt-get install openssh-server
# dyndns
apt-get install ddclient
# do/re-do the settings: dpkg-reconfigure ddclient
# 2FA
sudo apt-get install libpam-google-authenticator
# and follow http://askubuntu.com/questions/609117/how-to-setup-two-factor-authentication-in-ubuntu-for-ubuntu-users-using-google-a
# add exception for local logon
# follow http://serverfault.com/questions/518802/two-factor-ssh-authentication-on-external-address-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment