Index: testutils/ptest/Ssh.py =================================================================== --- testutils/ptest/Ssh.py +++ testutils/ptest/Ssh.py @@ -60,7 +60,7 @@ quiet = True else: print(cmd + '\n') - cmd = "ssh -nT '{0}' bash -c '{1}'".format(self.host, cmd) + cmd = '''ssh -nT '{0}' "bash -c '{1}'"'''.format(self.host, cmd) try: return Process.run(cmd, quiet, abandon_output) except Exception as e: