Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2004 19:20:29 +0100
From:      "Derkjan de Haan" <derkjan@haanjdj.demon.nl>
To:        =?ISO-8859-2?Q?Kov=E1cs_P=E9ter?= <kovacspeter2@freemail.hu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: sshd DNS
Message-ID:  <003601c4e5f7$6ba56220$0102a8c0@bogomip>
References:  <freemail.20041119190600.63226@fm16.freemail.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> I sometimes get this error message:
> sshd[543767]: WARNING: DNS lookup failed for " 171.31.1.21"
> Why is this error message?
>
> For what sshd needs DNS? If the DNS is unavailable I can't
> log into my computer. How can I resolve this problem, so I
> can still login if the DNS is not available?

IIRC sshd does a reverse dns lookup to see if that matches the hostname / 
ip-address combo. Try setting UseDNS to No in sshd_config and/or start sshd 
with the -u0 option.


regards,

Derkjan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003601c4e5f7$6ba56220$0102a8c0>