ci deploy: use mosh (#6228)

pull/6417/head
Niklas Fiekas 2020-04-14 14:43:58 +02:00
parent 06a2738bbd
commit 0aa7df602f
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ def tmux(ssh, script):
command = f"/bin/sh -e -c {shlex.quote(';'.join(script))};/bin/bash"
outer_command = f"/bin/sh -c {shlex.quote(command)}"
return subprocess.call([
"ssh", "-t", ssh, "tmux", "new-session", "-A", "-s", "ci-deploy", outer_command
"mosh", ssh, "--", "tmux", "new-session", "-A", "-s", "ci-deploy", outer_command
], stdout=sys.stdout, stdin=sys.stdin)