From 6a92e31a90d7df6463b7e8a6766f770ef504305f Mon Sep 17 00:00:00 2001 From: laily Date: Sat, 25 Jul 2026 22:16:38 +0800 Subject: [PATCH] feat: sudo by default --- script/server-security-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/server-security-check.sh b/script/server-security-check.sh index d0de7dc..be94207 100755 --- a/script/server-security-check.sh +++ b/script/server-security-check.sh @@ -158,7 +158,7 @@ check_ssh() { if [[ -z "$ssh_ports" ]]; then warn "无法确定 SSH 生效监听端口" elif [[ ",$ssh_ports," == *,22,* ]]; then - info "SSH 生效监听端口: $ssh_ports(仍包含默认端口 22;请确认是否有意保留)" + warn "SSH 生效监听端口: $ssh_ports(仍包含默认端口 22;请确认是否有意保留)" else pass "SSH 生效监听端口: $ssh_ports" fi