LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-16-2008, 10:32 AM   #1
avdhesh
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Unhappy ssh taking too long to find the host


Hi
When i do ssh root@host. it takes too much time to display the password prompt. Sometime it times out and after entering the passwd it gives the error "connection closed by the host" and exits.
There are other machines identical to this in the subnet and they work fine. Please help me .

System details are
Fedora - 7/2.6.21-1.3228.fc7
 
Old 04-16-2008, 10:50 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Try to use ssh -v for debugging output and see where it hangs. You can specify debugging level up to ssh -vvv.
 
Old 04-17-2008, 12:46 AM   #3
avdhesh
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up ssh taking too long to find the host

Quote:
Originally Posted by colucix View Post
Try to use ssh -v for debugging output and see where it hangs. You can specify debugging level up to ssh -vvv.
HI
Thanks for replying. After i did "UseDNS no" in the /etc/ssh/sshd_config file on the server side and restarted the server problem went away.
bye
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to know/find out/see my ssh host key khaos83 Red Hat 5 01-12-2019 09:05 PM
Hotplug is taking so long longnam Slackware 3 03-28-2005 08:16 AM
Why is Resolving taking so long? DevilDust Linux - Networking 11 08-08-2004 11:55 PM
why is x taking so long to get desktop up camp freddie Debian 5 05-15-2004 06:58 AM
Seriously this is taking a long time!! Omega Linux - Newbie 13 04-25-2003 05:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:35 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