Changes to one file · Browse files at 123a3b2a1342 Showing diff from parent 1edafd8d39e7 Diff from another changeset...
@@ -779,6 +779,11 @@
def run_command(self, host, command, username=None, port=None,
progress_stderr=None, **kwargs):
+
+ # Paramiko needs an explicit port. None is not valid
+ if port is None:
+ port = 22
+
client = paramiko.SSHClient()
policy = paramiko.client.MissingHostKeyPolicy()
|
Loading...