114
114
"-o", "StrictHostKeyChecking no",
120
121
"""Run a command on the remote machine."""
124
return self.client.get_juju_output("ssh", self.unit, command,
124
126
except subprocess.CalledProcessError as e:
125
127
logging.warning("juju ssh to %r failed: %s", self.unit, e)
126
128
self.use_juju_ssh = False