X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fssh.py;h=e1215191af791b5788432e3beb0a81802e3b744e;hb=be157c8643a2c095d169e3ea78e8db60000189eb;hp=2de6f4a36e34e0e56dc291c8029a1142d1d463b2;hpb=05eba892c7d2a778e78a950966fb1a6e0d68aa60;p=csit.git diff --git a/resources/libraries/python/ssh.py b/resources/libraries/python/ssh.py index 2de6f4a36e..e1215191af 100644 --- a/resources/libraries/python/ssh.py +++ b/resources/libraries/python/ssh.py @@ -56,7 +56,8 @@ class SSH(object): self._ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) self._ssh.connect(node['host'], username=node['username'], - password=node.get('password'), pkey=pkey) + password=node.get('password'), pkey=pkey, + port=node['port']) SSH.__existing_connections[node_hash] = self._ssh