We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8df7dbe commit d58c798Copy full SHA for d58c798
common/open-sshd-passwd.sh
@@ -92,4 +92,4 @@ echo "=== 启动 sshd 服务(端口:$SSHD_PORT) ==="
92
# 查找 sshd 可执行文件(兼容不同系统路径)
93
SSHD_BIN=$(which sshd || echo "/usr/sbin/sshd")
94
# 启动并输出详细日志(-e),指定端口,传递额外参数
95
-exec "$SSHD_BIN" -e -p "$SSHD_PORT" "$@"
+"$SSHD_BIN" -e -p "$SSHD_PORT" "$@"
0 commit comments