| Linux - Enterprise This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-22-2004, 12:38 PM
|
#1
|
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,430
Rep:
|
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
|
|
|
|
09-22-2004, 12:59 PM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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:
|
|
|
|
09-22-2004, 06:20 PM
|
#3
|
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,430
Original Poster
Rep:
|
Thanks! That worked. However, why would DNS have an affect on login authentication? That makes me perplexed. Can you explain? Thanks!
-twantrd
|
|
|
|
09-23-2004, 12:21 AM
|
#4
|
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
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.
Last edited by chort; 09-23-2004 at 12:23 AM.
|
|
|
|
09-23-2004, 02:29 AM
|
#5
|
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,430
Original Poster
Rep:
|
Ahhhhh! Thank you very much!
-twantrd
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:01 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|