Troubleshooting

An administrator connects to a Linux server over SSH and waits about 30 seconds before the password prompt appears. After login, commands run instantly. CPU, memory, and disk metrics are normal, and the logs show no failed authentication attempts. Which is the most likely cause?

Show the answer

Correct answerD. sshd is waiting on a DNS lookup that times out against an unreachable resolver

A delay before the password prompt with otherwise normal performance typically points to sshd doing a reverse DNS lookup (UseDNS) or GSSAPI lookup that times out. Swapping would make the whole session sluggish, not just the login, and the metrics show no memory pressure.