Improve method gw.detect_ssh

This commit is contained in:
remittor
2021-11-28 11:48:07 +03:00
parent 07a8931c2f
commit 9cc96b600d
+2 -1
View File
@@ -446,9 +446,10 @@ class Gateway():
if verbose:
print("Set SSH password = None")
self.passw = None
passw = None
if verbose >= 2:
print("Can't found valid SSH server on IP {}".format(ip_addr))
return -1
return -2
def set_timeout(self, timeout):
self.timeout = timeout