From a777c8580efbb548c5a75c3abac3cef8470c3d2d Mon Sep 17 00:00:00 2001 From: John Hood Date: Wed, 4 Jan 2017 23:00:18 -0500 Subject: [PATCH] Revert "Start ssh with -f instead of -n to avoid ssh hangs." This reverts commit f002e3bb3096c9c9db6b081ab3ae6cf8d453b2e6. That commit appears to have created a race between ssh restoring termios state and mosh-client initializing termios. Probably fixes #844. --- scripts/mosh.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mosh.pl b/scripts/mosh.pl index f30c95a..25745be 100755 --- a/scripts/mosh.pl +++ b/scripts/mosh.pl @@ -346,7 +346,7 @@ die "$0: fork: $!\n" unless ( defined $pid ); if ( $pid == 0 ) { # child open(STDERR, ">&STDOUT") or die; - my @sshopts = ( '-f' ); + my @sshopts = ( '-n' ); if ($ssh_pty) { push @sshopts, '-tt'; }