From a712c02ba5ebce19a5634c9f8f681418ec25a157 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 25 Mar 2008 14:53:33 +0000 Subject: [PATCH] better give the hostname to ssh --- system/TestSsh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/TestSsh.py b/system/TestSsh.py index 0e9495d..4e1698b 100644 --- a/system/TestSsh.py +++ b/system/TestSsh.py @@ -75,7 +75,9 @@ class TestSsh: ssh_command="ssh " if self.caller.key: ssh_command += "-i %s.rsa "%(self.caller.key) - ssh_command += "%s/%s"%(self.buildname,TestSsh.backslash_shell_specials(command)) + ssh_command += "`%s %s/%s"%(self.hostname(), + self.buildname, + TestSsh.backslash_shell_specials(command)) return utils.system(ssh_command) def copy (self,local_file,recursive=False): -- 2.43.0