diff options
author | John Hood <cgull@glup.org> | 2017-01-04 23:00:18 -0500 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2017-01-04 23:00:18 -0500 |
commit | a777c8580efbb548c5a75c3abac3cef8470c3d2d (patch) | |
tree | 18d42983a1bed40cfb8e647b3eaba572852f2896 /scripts | |
parent | e7bb13a40545e0f381b28024677209b21fceceba (diff) |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mosh.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } |