diff --git a/lib/ssh.py b/lib/ssh.py index c6aad84d921409bc7378b70f19ddd4df69561f81..8fb924b2997bd7da50f90fa3dbd7888a3f3c5cc2 100644 --- a/lib/ssh.py +++ b/lib/ssh.py @@ -156,7 +156,7 @@ class SshRunner: strict_host_check, private_key, quiet=quiet)) if tty: - argv.append("-t") + argv.extend(["-t", "-t"]) argv.extend(["%s@%s" % (user, hostname), command]) return argv