From 2ebf7ca958f7ef58fd6efbdcd4f460d65f3e70a1 Mon Sep 17 00:00:00 2001 From: futile Date: Fri, 24 Jul 2026 13:23:49 +0100 Subject: [PATCH] scripts: update ssh port --- scripts/system-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh index 6488a37..c8c7a22 100755 --- a/scripts/system-setup.sh +++ b/scripts/system-setup.sh @@ -109,14 +109,14 @@ banner bottom "installed cron" banner top "configuring sshd" sudo tee /etc/ssh/sshd_config << 'EOF' Include /etc/ssh/sshd_config.d/*.conf -Port 67 +Port 66 PermitRootLogin no PasswordAuthentication no KbdInteractiveAuthentication no EOF -sudo semanage port -a -t ssh_port_t -p tcp 67 +sudo semanage port -a -t ssh_port_t -p tcp 66 sudo systemctl restart sshd banner bottom "configuring sshd" # finish -echo -e "done! please log out and log back in with \e[1;5mssh -p 67 $(id -un)@$(curl -s https://checkip.amazonaws.com)\e[0m\n" +echo -e "done! please log out and log back in with \e[1;5mssh -p 66 $(id -un)@$(curl -s https://checkip.amazonaws.com)\e[0m\n"