LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-21-2008, 05:24 PM   #1
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Rep: Reputation: 30
SuseLinux10 ssh connections are slow


If I try to connect via ssh, it takes a few seconds to respond. And if I go away from my putty window for to an internet window or something for a few 20 or 30 seconds even, it will frequently take 3 to 6 seconds to start responding again. This is highly annoying.

I imagine this is a priority process priority issue. Anyone know how I can fix it?
 
Old 08-22-2008, 11:20 AM   #2
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
Try disabling reverse DNS lookups and see if that helps.

Uncomment "UseDNS" in sshd_config and set it to no.
 
Old 08-22-2008, 03:21 PM   #3
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by kenoshi View Post
Try disabling reverse DNS lookups and see if that helps.

Uncomment "UseDNS" in sshd_config and set it to no.
Ok, the second line is how to do what you told me to do in the first line.

I will try this later, thanks. I hope it works because I am quite certain someone is going to mention it to me if I don't fix it before Monday.

It's really bad. Anytime I go away from the putty window and come back, there is a 3 to 5 second lag before it starts responding again.
 
Old 08-22-2008, 03:30 PM   #4
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 30
Nice! It definitely fixed the problem for the login lag. I'll have to use the system a bit before I know if it fixed the other problem, but I have my hopes up. Thanks!

EDIT:

Ok, this definitely fixed it! Thanks.

Last edited by davidstvz; 08-22-2008 at 03:41 PM.
 
Old 08-22-2008, 03:58 PM   #5
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 30
d'oh

Spoke too soon. Rather it seemed to have fixed it but definitely did not fix it. I think the login prompt appears quickly now, but if I leave the ssh window for more than 10 or 20 seconds, it takes a bunch of seconds to start responding again.
 
  


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
SuseLinux10 (or similar) passwd file questions? davidstvz Suse/Novell 2 08-21-2008 04:30 PM
SMTP connections very slow bahadur Linux - Networking 1 07-12-2007 08:39 AM
Network connections slow over time wojie Linux - Networking 1 03-10-2005 06:32 AM
Very slow speed even in LAN connections Adony Linux - Networking 5 11-09-2004 07:31 PM
Slow proftpd Connections carmstrong Linux - Software 3 05-22-2004 08:02 AM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration