password=node.get('password'), pkey=pkey,
port=node['port'])
+ self._ssh.get_transport().set_keepalive(10)
+
SSH.__existing_connections[node_hash] = self._ssh
logger.trace('connect took {} seconds'.format(time() - start))
@staticmethod
def interactive_terminal_exec_command(chan, cmd, prompt,
- time_out=10):
+ time_out=30):
"""Execute command on interactive terminal.
interactive_terminal_open() method has to be called first!