Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server, that I work with via SSH. It took quite a lot time (a few seconds) to request the password before I've added it to my /etc/hosts file, but after I've done that there is no pause between SSH command and password request. I'm curious, why?

share|improve this question
up vote 3 down vote accepted

DNS lookup is what is taking time.


UseDNS no

To your /etc/ssh/sshd_config will achieve the same thing

share|improve this answer
Probably - another likely candidate is an ident lookup. Both would be evident from monitoring the outgoing traffic on the server. – symcbean Mar 20 '13 at 12:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.