Affected versions: IBM AIX 7.1

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

ssh login to the AIX 7.2 LPAR pauses for 10-30 seconds before prompt.

Environment & Reproduction

AIX OpenSSH performing reverse DNS lookup on the client IP.

Root Cause Analysis

DNS server unreachable or PTR record missing for the client.

Quick Triage

Test name resolution with nslookup CLIENT_IP and host CLIENT_IP.

Step-by-Step Diagnosis

Confirm sshd config with cat /etc/ssh/sshd_config | grep -i useDNS.

Illustrative mockup for aix-7.1 — ssh_slow_login_diag
Diagnostic view for ssh-slow-login-dns — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Set ‘UseDNS no’ in /etc/ssh/sshd_config and run stopsrc -s sshd; startsrc -s sshd.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for aix-7.1 — ssh_slow_login_fix
Remediation steps for ssh-slow-login-dns — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Fix or add the PTR record on the DNS server to keep UseDNS yes.

Verification & Acceptance Criteria

ssh login completes in under one second and auth.log shows no DNS delay.

Rollback Plan

Revert UseDNS yes after DNS health is restored if policy requires.

Prevention & Hardening

Monitor DNS health and document UseDNS posture across LPARs.

Pairs with GSSAPI auth delays if Kerberos lookups also stall.

Related tutorial: View the step-by-step tutorial for aix-7.1.

View all aix-7.1 tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

IBM Docs: OpenSSH on AIX, sshd_config UseDNS option.

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.