Skip to content

Instantly share code, notes, and snippets.

@ddrpa
Last active August 14, 2016 22:38
Show Gist options
  • Save ddrpa/d11ccc4c7d3394e074751f0e7d945d82 to your computer and use it in GitHub Desktop.
Save ddrpa/d11ccc4c7d3394e074751f0e7d945d82 to your computer and use it in GitHub Desktop.
SSH 连接在输入用户名后较长时间才提示输入密码
[Why does ssh's “password” prompt take so long to appear?](http://askubuntu.com/questions/246323/why-does-sshs-password-prompt-take-so-long-to-appear)
## For putty
Go `Connection > SSH > Auth > GSSAPI` and set `Attempt GSSAPI authentication (SSH-2 only)` to false.
(putty R0.64 on Windows, other version may have difference)
## For shell
Things go wrong is GSSAPI authentication timing out. Turn it off by adding the line `GSSAPIAuthentication no` to `/etc/ssh/ssh_config` or `~/.ssh/config`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment