aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/ssh.py3
1 files changed, 2 insertions, 1 deletions
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