aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rumba/ssh_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py
index 137c58b..ad32d13 100644
--- a/rumba/ssh_support.py
+++ b/rumba/ssh_support.py
@@ -108,7 +108,7 @@ def copy_file_to_testbed(testbed, ssh_config, text, file_name):
ssh_client = get_ssh_client()
try:
- ssh_client.connect(hostname, 22,
+ ssh_client.connect(ssh_config.hostname, ssh_config.port,
testbed.username,
testbed.password,
look_for_keys=True)