From 443ed561660bd5f37d85042da841b2472b97f129 Mon Sep 17 00:00:00 2001 From: Vincenzo Maffione Date: Wed, 12 Apr 2017 12:46:09 +0200 Subject: ssh_support: use ssh_config in copy_file_to_testbed --- rumba/ssh_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3