From df596fc6731db617cea4a711e848ae70814cab44 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 9 Jan 2024 01:57:28 +0800 Subject: [PATCH] Update tools.py --- tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools.py b/tools.py index 80e6026e0..4ece06c7a 100755 --- a/tools.py +++ b/tools.py @@ -174,6 +174,8 @@ def open_ssh_port(): ssh_port = cmd_data[0].replace("Port ", '').strip() if ssh_port == '': ssh_port = '22' + + print("|-SSH端口: "+ str(ssh_port)) firewall_api.firewall_api().addAcceptPortArgs(ssh_port, 'SSH远程管理服务', 'port') return True