sshd DNS

Derkjan de Haan derkjan at haanjdj.demon.nl
Sun Dec 19 10:20:24 PST 2004


>
> 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



More information about the freebsd-stable mailing list