[Bugfix] 修改gateway port

This commit is contained in:
ibuler 2018-07-05 10:26:16 +08:00
parent 01afcf701c
commit f8c2a445f7

View File

@ -54,7 +54,8 @@ def test_gateway_connectability(gateway):
proxy.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
proxy.connect(gateway.ip, username=gateway.username,
proxy.connect(gateway.ip, gateway.port,
username=gateway.username,
password=gateway.password,
pkey=gateway.private_key_obj)
except(paramiko.AuthenticationException,