Refactor: use OpenSSH for UFW & reorder auto.sh

This commit is contained in:
DuckDuckWhale 2022-11-04 20:48:22 -07:00
parent e92fa0f73c
commit 8ed2427671
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,8 @@
#!/bin/sh
cd ssh
./ssh.sh
cd ..
cd bash
./bash.sh
cd ..
@ -7,10 +11,6 @@ cd git
./git.sh
cd ..
cd ssh
./ssh.sh
cd ..
cd vim
./vim.sh
cd ..
@ -19,10 +19,6 @@ cd gnome
./gnome.sh
cd ..
cd home-chmod
./home-chmod.sh
cd ..
cd readline
./readline.sh
cd ..
@ -30,3 +26,7 @@ cd ..
cd tmux
./tmux.sh
cd ..
cd home-chmod
./home-chmod.sh
cd ..

View File

@ -233,7 +233,7 @@ chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
# insert your SSH public keys into the file
sudo ufw limit 22/tcp
sudo ufw limit OpenSSH
sudo ufw allow 60001:60999/udp
sudo systemctl restart ssh
```