LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2011, 02:09 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,653

Rep: Reputation: 255Reputation: 255Reputation: 255
why the daemon SSH makes PC slow and connection?


Hi,

On the given network, plugged to internet behind a router, there is:
(1) one PC running SSH on port >22
(2) and another PC running.

Visibly, if I stop the SSH daemon of the (1), then all becomes a bit more faster, i.e. Intranet, the PC, and the internet. What it is?

On (1): I do
Code:
/etc/init.d/ssh stop
and it seems to make the difference.

No rootkit is there with the deb rootkit.

Greetings
 
Old 10-15-2011, 03:23 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Command top may provide clues to start.
 
Old 10-15-2011, 03:33 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,653

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by jefro View Post
Command top may provide clues to start.
I tried htop and mtr but it did not give a clue what could be going on. SSH is between 0 and 1% of cpu.
I check also the auth.log and it looks normal.
 
Old 10-15-2011, 05:32 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Xeratul View Post
if I stop the SSH daemon of the (1), then all becomes a bit more faster, i.e. Intranet, the PC, and the internet.
Looking at logs is good but SSH just waits for connections and while it does that it has a negligible impact on performance. To rule out "Internet weather" best back up your observations with technical data like posting before / after output of 0) top (single shot), 1) loading a large file with say curl ('curl -q http://doma.in/file >/dev/null') and 2) tcptraceroute of a few sites.
 
  


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
Reverse SSH connection Super Slow metallica1973 Linux - Networking 7 12-14-2009 07:05 PM
frequently slow ssh connection heriL Linux - Networking 1 03-23-2008 05:25 AM
SLOW SSH connection adriaanbw Linux - Networking 1 04-27-2006 06:13 PM
ssh connection is very very slow. bruse Linux - Networking 1 01-19-2006 05:43 AM
my PuTTY connection over ssh is too slow. chris.pickett Linux - Networking 2 11-22-2003 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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