Skip to content

Instantly share code, notes, and snippets.

@zshanabek
Created March 23, 2022 10:39
Show Gist options
  • Save zshanabek/b904ea54be55a2f22e17bc06b5f53bd8 to your computer and use it in GitHub Desktop.
Save zshanabek/b904ea54be55a2f22e17bc06b5f53bd8 to your computer and use it in GitHub Desktop.
Initial Server Setup with Ubuntu 20.04
adduser sammy
usermod -aG sudo sammy
ufw app list
ufw allow OpenSSH
ufw enable
ufw status
rsync --archive --chown=sammy:sammy ~/.ssh /home/sammy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment