Running ssh user@hostname takes ~30s. Here's the scenario:this is a VM on the local LANWindows and Mac machines get instant loginam using Debian and I could reproduce with an Ubuntu machinesomeone using Ubuntu says that logging into my machine (local LAN) is also instantusing hostname IP address takes about half as much time (~15s)[update]Using ssh -vvv user@hostname, here's where it waits the most:debug3: authmethod_lookup gssapi-with-micdebug3: remaining preferred: publickey,keyboard-interactive,passworddebug3: authmethod_is_enabled gssapi-with-micdebug1: Next authentication method: gssapi-with-micAnd then it waits a bit here:debug1: Unspecified GSS failure.  Minor code may provide more informationCredentials cache file '/tmp/krb5cc_1000' not founddebug1: Unspecified GSS failure.  Minor code may provide more informationCredentials cache file '/tmp/krb5cc_1000' not found
How to speed my too-slow ssh login?
ssh
Edit your /etc/ssh/ssh_config and comment out these lines:GSSAPIAuthentication yesGSSAPIDelegateCredentials no