Every time I ssh login to a server, it is always very slow. As a reply to my earlier post said, "grepping through a 200 line file should take millisecond or so, so I would doubt it's that."
I tried ssh -vvv time@server
and the output has been uploaded here. I found that when proceeding to each of these three lines in the output, it is particularly slow:
debug1: Next authentication method: gssapi-with-mic
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' not found
I wonder why and what I can do to change it? Thanks and regards!
Update:
Ignacio's reply suggests me to "disable all GSS/Kerberos auth methods in your configuration."
So in /etc/ssh/ssh_config
, do I have to make sure "no" is behind each of all options starting with "GSS": GSSAPIAuthentication, GSSAPIDelegateCredentials, GSSAPIKeyExchange, GSSAPITrustDNS, GSSAPIAuthentication, and GSSAPIDelegateCredentials?
Then what are the options for "Kerberos" auth method that I need to put "no" behind?
PS: following is the content of my local /etc/ssh/ssh_config
with commented options not copied to here:
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
GSSAPIAuthentication yes
andGSSAPIDelegateCredentials no
?