LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-22-2004, 12:38 PM   #1
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
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
 
Old 09-22-2004, 12:59 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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
 
Old 09-22-2004, 06:20 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Original Poster
Rep: Reputation: 52
Thanks! That worked. However, why would DNS have an affect on login authentication? That makes me perplexed. Can you explain? Thanks!

-twantrd
 
Old 09-23-2004, 12:21 AM   #4
chort
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: Reputation: 76
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.
 
Old 09-23-2004, 02:29 AM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Original Poster
Rep: Reputation: 52
Ahhhhh! Thank you very much!

-twantrd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication service cannot retrieve authentication info Moffett67 Linux - Software 3 12-13-2007 03:16 AM
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Authentication slow with Sendmail jgaraas Linux - Software 0 05-01-2003 11:09 AM
Help Authentication Dead Slow kirankv Linux - Newbie 3 03-21-2003 03:07 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration