Slow authentication
Hi,
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! -twantrd |
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:
Code:
UseDNS no |
Thanks! That worked. However, why would DNS have an affect on login authentication? That makes me perplexed. Can you explain? Thanks!
-twantrd |
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.
|
Ahhhhh! Thank you very much!
-twantrd |
All times are GMT -5. The time now is 10:24 PM. |