π ~1 min read
Table of contents
Symptom & Impact
SSH sessions pause several seconds before the password or key prompt appears.
Environment & Reproduction
Frequent on hosts with unreachable or slow DNS resolvers.
Root Cause Analysis
`sshd` waits for reverse DNS lookup during connection processing.
Quick Triage
Measure name resolution latency from the server.
Step-by-Step Diagnosis
Check sshd logs for delayed host lookup messages.

Solution – Primary Fix
Disable reverse DNS lookup in SSH daemon settings.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Fix DNS PTR records and resolver reachability instead of changing sshd behavior.
Verification & Acceptance Criteria
SSH authentication prompt appears without multi-second delay.
Rollback Plan
Revert `UseDNS` setting and reload SSH service if policy requires DNS checks.
Prevention & Hardening
Maintain accurate PTR records for managed client networks.
Related Errors & Cross-Refs
Related to GSSAPI delays and blocked outbound DNS traffic.
Related tutorial: View the step-by-step tutorial for Debian 13.
View all Debian 13 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
OpenSSH server performance and logging references.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.