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…

Robocopy exclude Directories

Just trying to copy everything except a couple of directories from a drive to my NAS This is the secret incantation of...