diff options
author | John Hood <cgull@glup.org> | 2016-11-04 23:54:02 -0400 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2016-11-06 06:15:41 -0500 |
commit | 45c521d632a742ce35a15970df3a34fbd5d2de67 (patch) | |
tree | 2472e1f3abb120a319f12bd711a4de126cf4e52e /scripts | |
parent | 444eae1fc45c708557ed93c71017134307f0febf (diff) |
Do not close stdin on ssh session.
This helps with #819.
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 37eb1ff..583b7d2 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 = ( '-n' ); + my @sshopts = (); if ($ssh_pty) { push @sshopts, '-tt'; } |