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 #!/bin/sh
cd ssh
./ssh.sh
cd ..
cd bash cd bash
./bash.sh ./bash.sh
cd .. cd ..
@ -7,10 +11,6 @@ cd git
./git.sh ./git.sh
cd .. cd ..
cd ssh
./ssh.sh
cd ..
cd vim cd vim
./vim.sh ./vim.sh
cd .. cd ..
@ -19,10 +19,6 @@ cd gnome
./gnome.sh ./gnome.sh
cd .. cd ..
cd home-chmod
./home-chmod.sh
cd ..
cd readline cd readline
./readline.sh ./readline.sh
cd .. cd ..
@ -30,3 +26,7 @@ cd ..
cd tmux cd tmux
./tmux.sh ./tmux.sh
cd .. cd ..
cd home-chmod
./home-chmod.sh
cd ..

View File

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