aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-10-24 18:08:44 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-10-24 18:08:44 +0200
commitd91a601494ba14172b6c239aa6c28e6256c62ca7 (patch)
tree2d14bc314dc10ea4e0b865305187357f0e0fefd4 /rumba/testbeds
parentc09a71b756ab3208ac02a006f9a4d54792b803b5 (diff)
downloadrumba-d91a601494ba14172b6c239aa6c28e6256c62ca7.tar.gz
rumba-d91a601494ba14172b6c239aa6c28e6256c62ca7.zip
ssh_support: Use native Paramiko API for Proxy
This uses the native paramiko API for proxycommands instead of invoking OpenSSH on the host after connecting to it since that gives race conditons with Paramiko.
Diffstat (limited to 'rumba/testbeds')
-rw-r--r--rumba/testbeds/jfed.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/rumba/testbeds/jfed.py b/rumba/testbeds/jfed.py
index 7182143..3235ca2 100644
--- a/rumba/testbeds/jfed.py
+++ b/rumba/testbeds/jfed.py
@@ -206,11 +206,7 @@ class Testbed(mod.Testbed):
node.ssh_config.hostname = \
node.name + "." + self.exp_name + "." + \
auth_name_r + "." + self.auth_name
- node.ssh_config.proxy_command = "ssh -i '" + self.cert_file + \
- "' -o StrictHostKeyChecking=no " + \
- self.username + \
- "@bastion.test.iminds.be nc " + \
- node.ssh_config.hostname + " 22"
+ node.ssh_config.proxy_server = "bastion.test.iminds.be"
node.ssh_config.username = self.username
node.ssh_config.password = self.password