若已设置则显示SSH端口 (#594)

如果指定了SSH端口,则输出该端口信息。
This commit is contained in:
wmwlwmwl
2026-05-24 22:03:24 +08:00
committed by GitHub
parent 87301108df
commit 39318e4ad2
+3
View File
@@ -4977,6 +4977,9 @@ if [ -n "$username" ]; then
else
echo "Password: $password"
fi
if [ -n "$ssh_port" ]; then
echo "SSH Port: $ssh_port"
fi
fi
if is_netboot_xyz; then