[CentOS] CentOS5U2 waiting too long when ssh login to other linux servers

Tue Mar 31 12:36:37 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

Ryan J M wrote:
> The waiting time is about 50s on my CentOS box now. "yum remove
> openssh* "and "yum  install openssh*" can't make it right. "mv
> ~/.ssh{,.bak}" not works either.
> Here comes my tcpdump log, I am not an expert on SSH, Can anyone here
> get me out of this?

The answering sshd will do a reverse DNS lookup on the connecting IP 
address.  That's about the right time to wait for timeouts from 2 DNS 
servers if they don't respond.

   Les Mikesell
    lesmikesell at gmail.com