summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatic/thesiah.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh
index a413fe9..6acccec 100755
--- a/static/thesiah.sh
+++ b/static/thesiah.sh
@@ -513,7 +513,7 @@ sshsetup() {
whiptail --infobox "Setting up ssh..." 7 50
[ -x "$(command -v "ssh")" ] || installpkg openssh
pacman -Qq openssh-"$initsys" >/dev/null 2>&1 || installpkg openssh-"$initsys"
- sed -Ei "/^#Port\s*22$/s/#//;s/^#?(ListenAddress) 0\.0\.0\.0/\1 127\.0\.0\.1;s/^#?(PasswordAuthentication).*/\1 no;s/^#?(UsePAM).*/\1 no" /etc/ssh/sshd_config >/dev/null 2>&1
+ sed -Ei "s/^#?(PasswordAuthentication).*/\1 no;s/^#?(UsePAM).*/\1 no" /etc/ssh/sshd_config >/dev/null 2>&1
case "$initsys" in
"runit")
ln -sf /etc/runit/sv/sshd /run/runit/service/ >/dev/null 2>&1