diff --git a/scripts/mosh b/scripts/mosh index c9cb26b..7d51782 100755 --- a/scripts/mosh +++ b/scripts/mosh @@ -244,7 +244,7 @@ if ( $pid == 0 ) { # child } my $quoted_self = shell_quote( $0 ); - exec "$ssh " . shell_quote( '-S', 'none', '-o', "ProxyCommand=$quoted_self --fake-proxy -- %h %p", '-t', $userhost, '--', "$server " . shell_quote( @server ) ); + exec "$ssh " . shell_quote( '-S', 'none', '-o', "ProxyCommand=$quoted_self --fake-proxy -- %h %p", '-n', '-tt', $userhost, '--', "$server " . shell_quote( @server ) ); die "Cannot exec ssh: $!\n"; } else { # parent my ( $ip, $port, $key );