From 04b03b41f6d901e4cfc99e237eeb69ee91ec2b75 Mon Sep 17 00:00:00 2001 From: John Hood Date: Fri, 11 Nov 2016 23:31:11 -0500 Subject: [PATCH] Revert "Do not close stdin on ssh session." This reverts commit 45c521d632a742ce35a15970df3a34fbd5d2de67. --- scripts/mosh.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mosh.pl b/scripts/mosh.pl index 583b7d2..37eb1ff 100755 --- a/scripts/mosh.pl +++ b/scripts/mosh.pl @@ -333,7 +333,7 @@ die "$0: fork: $!\n" unless ( defined $pid ); if ( $pid == 0 ) { # child open(STDERR, ">&STDOUT") or die; - my @sshopts = (); + my @sshopts = ( '-n' ); if ($ssh_pty) { push @sshopts, '-tt'; }