@@ -75,7 +75,7 @@ class SSHClient(object):
7575 def __init__ (self , host ,
7676 user = None , password = None , port = None ,
7777 pkey = None , forward_ssh_agent = True ,
78- num_retries = DEFAULT_RETRIES , _agent = None , timeout = None ,
78+ num_retries = DEFAULT_RETRIES , _agent = None , timeout = 10 ,
7979 proxy_host = None , proxy_port = 22 ):
8080 """Connect to host honouring any user set configuration in ~/.ssh/config \
8181 or /etc/ssh/ssh_config
@@ -96,7 +96,7 @@ def __init__(self, host,
9696 :param num_retries: (Optional) Number of retries for connection attempts\
9797 before the client gives up. Defaults to 3.
9898 :type num_retries: int
99- :param timeout: (Optional) Number of seconds to timout connection attempts\
99+ :param timeout: (Optional) Number of seconds to timeout connection attempts\
100100 before the client gives up. Defaults to 10.
101101 :type timeout: int
102102 :param forward_ssh_agent: (Optional) Turn on SSH agent forwarding - \
@@ -320,7 +320,7 @@ class ParallelSSHClient(object):
320320
321321 def __init__ (self , hosts ,
322322 user = None , password = None , port = None , pkey = None ,
323- forward_ssh_agent = True , num_retries = DEFAULT_RETRIES , timeout = None ,
323+ forward_ssh_agent = True , num_retries = DEFAULT_RETRIES , timeout = 10 ,
324324 pool_size = 10 , proxy_host = None , proxy_port = 22 ):
325325 """
326326 :param hosts: Hosts to connect to
@@ -339,7 +339,7 @@ def __init__(self, hosts,
339339 :param num_retries: (Optional) Number of retries for connection attempts \
340340 before the client gives up. Defaults to 3.
341341 :type num_retries: int
342- :param timeout: (Optional) Number of seconds to timout connection \
342+ :param timeout: (Optional) Number of seconds to timeout connection \
343343 attempts before the client gives up. Defaults to 10.
344344 :type timeout: int
345345 :param forward_ssh_agent: (Optional) Turn on SSH agent forwarding - \
0 commit comments