diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-12 12:46:09 +0200 |
---|---|---|
committer | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-12 12:46:09 +0200 |
commit | 443ed561660bd5f37d85042da841b2472b97f129 (patch) | |
tree | 8cc5baaa13366b3aa7bca376e5b0b79e6b65730a | |
parent | 27515c90d65f608969dee8c4b32df6a44e45c41b (diff) | |
download | rumba-443ed561660bd5f37d85042da841b2472b97f129.tar.gz rumba-443ed561660bd5f37d85042da841b2472b97f129.zip |
ssh_support: use ssh_config in copy_file_to_testbed
-rw-r--r-- | rumba/ssh_support.py | 2 |
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) |