运行ssh user@hostname
需要大约 30 秒。这是场景:
[更新]
使用ssh -vvv user@hostname
,这是它等待最多的地方:
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
Run Code Online (Sandbox Code Playgroud)
然后在这里等一下:
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' not found
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' …
Run Code Online (Sandbox Code Playgroud) ssh ×1