253
281
raise ConnectionError('Unable to connect to SSH host %s:%s: %s'
284
def connect_ssh(self, username, password, host, port, command):
286
argv = self._get_vendor_specific_argv(username, host, port,
256
301
def _get_vendor_specific_argv(self, username, host, port, subsystem=None,
258
303
"""Returns the argument list to run the subprocess with.