Created
April 22, 2015 08:26
-
-
Save giavac/fd2b3ffe5dd9004c5041 to your computer and use it in GitHub Desktop.
First set up on an Ubuntu DO host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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