Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have installed RHAS 3.0 on 4 machines and when I ssh into them and log in (supplying my username and password), it takes a long time (a good 5 seconds) before I am able to see the prompt. This happens on all 4 machines I have built. Has anyone noticed this too? Is there something I can do to eliminate this long latency? Thanks!
i think you either need to make sure that the dns servers the boxes with the ssh daemons are using are fine, or use this line in the /etc/ssh/sshd_config file of the servers:
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Because UseDNS causes sshd to attempt a reverse DNS lookup of every IP that initiats a connection. You didn't have PTR entries for the IPs you were connecting with. The delay was caused by the DNS lookup being performed and timing out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.