Go Back   The UNIX and Linux Forums > Operating Systems > Linux
Search Forums:



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-07-2009
Registered User
 

Join Date: Oct 2008
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
delay getting ssh login prompt

Hi, We currently have a problem on a centos server when i try to ssh to it there is a significant delay in getting a login prompt. What would be the steps in troubleshooting this issue? I have try to narrow down a possible network issue but cannot see anything obviously wrong in the routing table, I also believe the dns is ok, i am ssh'ing to an ip address not a hostname so shouldnt have to resolve it.
Sponsored Links
    #2  
Old 01-07-2009
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Computer Geek
 

Join Date: Jul 2008
Location: Frederick, MD
Posts: 748
Thanks: 4
Thanked 10 Times in 9 Posts
If you search this is a common question on the board, its a dns issue.

in /etc/ssh/sshd_conf set

UseDNS no
Sponsored Links
    #3  
Old 01-07-2009
Registered User
 

Join Date: Oct 2008
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
in that config file use dns yes is commented out

#UseDNS yes


does it therefore assume no?
    #4  
Old 01-07-2009
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Computer Geek
 

Join Date: Jul 2008
Location: Frederick, MD
Posts: 748
Thanks: 4
Thanked 10 Times in 9 Posts
Im pretty sure the default is yes. Thats why I would say set it to no to fix the problem.
Sponsored Links
    #5  
Old 01-13-2009
mark54g mark54g is offline Forum Advisor  
Registered User
 

Join Date: May 2008
Location: Northeastern United States
Posts: 871
Thanks: 1
Thanked 52 Times in 50 Posts
what terminal program are you using? Could it be the client/exchange and not DNS?

Also, after any changes, you should restart the service/daemon

redhat based would be something like
service sshd restart

suse would be
rcsshd restart or some such. (you can tab to complete)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Login Prompt - Sol 10 deedaz UNIX for Dummies Questions & Answers 4 01-20-2008 04:46 PM
Root login does not prompt for password morgan_g AIX 1 08-26-2007 10:56 PM
Can we disable/delay login ports in suse linux ? vrguha SuSE 3 01-04-2006 04:20 AM
No login prompt bache_gowda UNIX for Dummies Questions & Answers 4 06-22-2003 04:45 AM
Login Delay SmartJuniorUnix UNIX for Dummies Questions & Answers 1 03-27-2001 11:38 AM



All times are GMT -4. The time now is 11:49 PM.