ssh taking a long time to give a login prompt

Written by James McDonald

January 28, 2011

On CentOS 5.5 x64

Symptom:
Taking a long time to bring a ssh login: prompt up

Connecting using:
ssh -v -l username 10.22.23.24

Output:
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied

The Fix
open /etc/ssh/sshd_config and change the following:
UseDNS no # didn’t help in my case
GSSAPIAuthentication no # this did work

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Clear HSTS Settings in CHrome

Open chrome://net-internals/#hsts enter the domain in the query field and click Query to confirm it has HSTS settings...

Ubuntu on Hyper-v

It boils town to installing linux-azure # as root or sudo apt-get update apt-get install linux-azure...