LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-22-2009, 12:55 PM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
latency on newer SSH connects


We have a bunch of servers running old fedora 5. A handful have been updated to ubuntu-server 8.10, and we noticed something very odd. The webservers actually seem slower and another test is using ssh.

From the main development server I can type an ssh websvr1 <enter> and immediately get a response for password. With the newer servers, ssh websvr5 <enter> you sit there and wait for literally 3-5 seconds before prompted. I am not sure if they are related or not. But the newer machines were imaged (clonezilla) so things like ssh keys were re-created, but not sure if anyone would have more insight or ideas.

Thanks
 
Old 05-22-2009, 01:02 PM   #2
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
Use some -v switches on ssh there and see what it gets hung up on.

- Arch
 
Old 05-22-2009, 03:50 PM   #3
iamwilliam
Member
 
Registered: Apr 2006
Location: Nairobi
Distribution: CentOS
Posts: 78

Rep: Reputation: 21
Hi,

My guess is the delay occurs because sshd is attempting to do a reverse lookup for the connecting IP. Try set the following option in /etc/sshd_config. sshd manpage says the default is "yes"

Quote:
UseDNS no
 
  


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
SSH Connects but no shell prompt Trd79 Linux - Server 5 08-01-2008 11:58 AM
ssh over high latency connections amadkow Linux - Networking 9 10-12-2007 06:37 AM
PPTP Client connects but cannot ssh or ping any hosts on FC6 kkempter Linux - Networking 0 11-20-2006 09:56 PM
SSH connects but hangs pdibona Linux - Networking 5 10-09-2002 08:17 AM
Latency Steve Roberts Linux - General 0 02-13-2001 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:50 AM.

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