I’m using Debian for years and glad to upgrade from Squeeze to Wheezy once it
was been released. However, I noticed that ssh costs a lot of time to login to
remote host from Debian Wheezy but much faster on my MacBook Air.
This surprised me a little and I run ‘ssh’ into verbose mode and found something
From my Debian Wheezy.
From my MacBook Air.
SSH login to remote-host from Debian Wheezy costs about another 20 seconds
that’s because it first try to get authenticated with
From the ssh_config(5) man page, I see GSSAPIAuthentication disabled by default,
but that’s not true in Debian Wheezy, so generally this is an inconsistency from
document and behavior. So I filed a bug to Debian Community.
The solution is very simple: just disable GSSAPIAuthentication in your
ssh_config, you can do that in system-wide as set below in /etc/ssh/ssh_config
Or in user wide by setup in $HOME/.ssh/ssh_config Or even by ssh command line