aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar John Hood <cgull@glup.org>2016-12-01 19:37:05 -0500
committerGravatar John Hood <cgull@glup.org>2016-12-02 23:12:07 -0500
commitf002e3bb3096c9c9db6b081ab3ae6cf8d453b2e6 (patch)
tree858496f6ff0799e960a18a432242d355ab8f1d0c /scripts
parent278fd12ec1eb4fca75d8614f6117ec22244eac83 (diff)
Start ssh with -f instead of -n to avoid ssh hangs.
This seems to resolve #833.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mosh.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mosh.pl b/scripts/mosh.pl
index 25745be..f30c95a 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 = ( '-n' );
+ my @sshopts = ( '-f' );
if ($ssh_pty) {
push @sshopts, '-tt';
}