From 8ed2427671323f4fc560ccda2a4c1d2c8553d594 Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Fri, 4 Nov 2022 20:48:22 -0700 Subject: [PATCH] Refactor: use OpenSSH for UFW & reorder auto.sh --- auto/auto.sh | 16 ++++++++-------- setup/ubuntu-setup.md | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/auto/auto.sh b/auto/auto.sh index ce3a32a..8ee9086 100755 --- a/auto/auto.sh +++ b/auto/auto.sh @@ -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 .. diff --git a/setup/ubuntu-setup.md b/setup/ubuntu-setup.md index 51dd996..8e7b50f 100644 --- a/setup/ubuntu-setup.md +++ b/setup/ubuntu-setup.md @@ -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 ```