Skip to content

Commit

Permalink
Start ssh with -f instead of -n to avoid ssh hangs.
Browse files Browse the repository at this point in the history
This seems to resolve #833.
  • Loading branch information
cgull committed Dec 3, 2016
1 parent 278fd12 commit f002e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mosh.pl
Expand Up @@ -346,7 +346,7 @@ sub predict_check {
if ( $pid == 0 ) { # child
open(STDERR, ">&STDOUT") or die;

my @sshopts = ( '-n' );
my @sshopts = ( '-f' );
if ($ssh_pty) {
push @sshopts, '-tt';
}
Expand Down

0 comments on commit f002e3b

Please sign in to comment.