Created
February 23, 2018 20:06
-
-
Save mr-rigden/4b90e6ae63f7e4bdf01407b4605bb04c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| apt-get update | |
| apt-get upgrade | |
| apt-get install git tmux htop | |
| sudo nano /etc/hostname | |
| sudo nano /etc/hosts | |
| adduser jason | |
| usermod -aG sudo jason | |
| ssh-copy-id jason@1.1.1.1 | |
| sudo nano /etc/ssh/sshd_config | |
| PermitRootLogin no | |
| PasswordAuthentication no | |
| PubkeyAuthentication yes | |
| ChallengeResponseAuthentication no | |
| sudo systemctl reload sshd | |
| sudo ufw app list | |
| sudo ufw allow OpenSSH | |
| sudo ufw enable | |
| sudo reboot | |
| sudo timedatectl set-timezone America/Los_Angeles | |
| timedatectl | |
| sudo timedatectl set-ntp on | |
| timedatectl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment