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