Skip to content

Commit

Permalink
Pass -o GSSAPITrustDns=no to improve (but not totally fix) Kerberos s…
Browse files Browse the repository at this point in the history
…ituation
  • Loading branch information
keithw committed Aug 11, 2012
1 parent 9296ffb commit dce0c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mosh
Expand Up @@ -233,7 +233,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', 'GSSAPITrustDns=no', '-o', "ProxyCommand=$quoted_self --fake-proxy -- %h %p", '-t', $userhost, '--', "$server " . shell_quote( @server ) );
die "Cannot exec ssh: $!\n";
} else { # server
my ( $ip, $port, $key );
Expand Down

0 comments on commit dce0c7f

Please sign in to comment.