Skip to content

Instantly share code, notes, and snippets.

@giavac
Created April 22, 2015 08:26
Show Gist options
  • Save giavac/fd2b3ffe5dd9004c5041 to your computer and use it in GitHub Desktop.
Save giavac/fd2b3ffe5dd9004c5041 to your computer and use it in GitHub Desktop.
First set up on an Ubuntu DO host
# As root
apt-get update
apt-get upgrade
apt-get autoremove
adduser gvacca
gpasswd -a gvacca sudo
# change ssh port and PermitRootLogin (to no)
vim /etc/ssh/sshd_config
service ssh restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment