From ebb607e8330ee0591900e19518b44eb2f450407e Mon Sep 17 00:00:00 2001 From: darkclip Date: Wed, 31 Dec 2025 17:13:06 +0800 Subject: [PATCH] update --- configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index 5f33294..294bc2f 100755 --- a/configure.sh +++ b/configure.sh @@ -14,7 +14,7 @@ configure(){ echo -e "APT::Install-Recommends "0"; APT::Install-Suggests "0";" | tee /etc/apt/apt.conf.d/01norecommend >/dev/null - sed -i "s/.*PermitRootLogin.*/PermitRootLogin prohibit-password/g" /etc/ssh/sshd_config + sed -i "s/.*PermitRootLogin.*/PermitRootLogin prohibit-password/g" /etc/ssh/sshd_config || true sed -i "s/.*Host \*.*/Host \*/g" /etc/ssh/ssh_config sed -i "/.*HashKnownHosts.*/d" /etc/ssh/ssh_config sed -i "/.*HostKeyAlgorithms.*/d" /etc/ssh/ssh_config @@ -83,4 +83,4 @@ done; if $DO_SYS_CONFIG; then configure fi -personalize $DO_INSTALL \ No newline at end of file +personalize $DO_INSTALL