Last active
August 14, 2016 22:38
-
-
Save ddrpa/d11ccc4c7d3394e074751f0e7d945d82 to your computer and use it in GitHub Desktop.
SSH 连接在输入用户名后较长时间才提示输入密码
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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