LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   latency on newer SSH connects (https://www.linuxquestions.org/questions/linux-server-73/latency-on-newer-ssh-connects-727837/)

sir-lancealot 05-22-2009 12:55 PM

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

archangel_617b 05-22-2009 01:02 PM

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

- Arch

iamwilliam 05-22-2009 03:50 PM

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


All times are GMT -5. The time now is 08:33 AM.