Skip to content

Instantly share code, notes, and snippets.

@fearofcode
Created August 1, 2018 04:27
Show Gist options
  • Save fearofcode/e6fc1c36e364545cd86c2ace77281c6e to your computer and use it in GitHub Desktop.
Save fearofcode/e6fc1c36e364545cd86c2ace77281c6e to your computer and use it in GitHub Desktop.
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
disable root login: https://askubuntu.com/questions/27559/how-do-i-disable-remote-ssh-login-as-root-from-a-server
setup remote postgres login (yes, I used a strong, randomly generated password):
https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands
https://bosnadev.com/2015/12/15/allow-remote-connections-postgresql-database-server/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment