Improve method gw.detect_ssh

pull/3/head
remittor 3 years ago
parent 07a8931c2f
commit 9cc96b600d

@ -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

Loading…
Cancel
Save