LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-08-2005, 10:28 AM   #1
franz77
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
problems about ssh and LAN


hello everybody!
I am a newbie in the computer world.
There are some problems with my ssh server...
I set up a ssh server in my office with optical fiber cableĦAproviding about twenty persons(in the same office) to log in my server to execute a shell script,but a little lag. With optical fiber cable , switches, and Intel 82557 10M/100M NIC ĦAI don't know why it lags. I observe the total volume of flow is less then one-tenth of 10Mbps.
Could somebody help me?
Is it useful to provide telnet service instead of ssh service?
Should I shut down iptables?

thanks
 
Old 01-08-2005, 11:37 AM   #2
jeickal
Member
 
Registered: Oct 2004
Distribution: Mandrake, DSL, SuSE, RedHat
Posts: 71

Rep: Reputation: 15
Quote:
Is it useful to provide telnet service instead of ssh service?
No, it's the reverse actually:
SSH encodes the traffic, telnet does not
SSH allows you to tunnel other protocols inside its connection, telnet does not.

So basically you're saying that it works but extremely slow? Sounds like a duplex mismatch. Make sure your switch's ports and the PCs' NIC and all set to auto-sense. Or eventually all force to 100/full (I suggest auto-sense everywhere). If you force one side (let's say the switch's port) to 100/Full and leave the default (usually auto-sense) on the other (your linux box) then you get the NIC to come up 100/Half and get a load of collision on the LAN. So it works but slooooow...
Just a guess.
 
Old 01-08-2005, 07:41 PM   #3
franz77
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jeickal
No, it's the reverse actually:
SSH encodes the traffic, telnet does not
SSH allows you to tunnel other protocols inside its connection, telnet does not.

So basically you're saying that it works but extremely slow? Sounds like a duplex mismatch. Make sure your switch's ports and the PCs' NIC and all set to auto-sense. Or eventually all force to 100/full (I suggest auto-sense everywhere). If you force one side (let's say the switch's port) to 100/Full and leave the default (usually auto-sense) on the other (your linux box) then you get the NIC to come up 100/Half and get a load of collision on the LAN. So it works but slooooow...
Just a guess.
hi,jeickal
The reason I want to provide telnet service is less flow. Becouse of extra encoding information compared with telnet, I think it maybe keep more bandwidty if I use telnet as my login server.
And your suggestion is userful for me.I'll check if it is where the problems are.
Thank yoy
 
Old 01-09-2005, 03:41 AM   #4
jeickal
Member
 
Registered: Oct 2004
Distribution: Mandrake, DSL, SuSE, RedHat
Posts: 71

Rep: Reputation: 15
You won't see any speed difference. I honestly never look I the different way telnet and SSH are encoding the frames. But I'm not even sure there is a significatif overhead using SSH. Any anyway if you're on a Ethernet LAN, a SSH flow is nothing compare to 10 Mbps and less than nothing compare to 100 Mbps. Furthermore, you can use SSH to compress the traffic if you're going through low bandwifdth link, I think it's "ssh -C" look at the man pages.
I've been using SSH over a 33kbps line and it's only a little less responsive than on a LAN, it's only text you know? Now if you're opening some tunnel and passing other protocol through SSH it's different, but since you are comparing it with telnet I believe you don't need this.
Just a tip to test you LAN responsivness: Transfer a file with FTP from one PC to another over the LAN. FTP is a very effecient protocol that should eat up all the bandwidth. Transfering a 10MB file should take few seconds. if it takes minutes, than you have a problem with you network (switch/hub//NIC config).
 
  


Reply



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 WAN/LAN problem Hangdog42 Linux - Security 6 10-18-2005 09:51 PM
ssh from outside my lan? danimal87 Linux - Newbie 4 09-04-2005 10:35 AM
SSH access from outside the LAN? jdp Linux - Newbie 1 05-02-2004 01:12 PM
qmail, ssh and events in a LAN Zingaro2002 Linux - Networking 1 08-16-2002 03:50 PM
Problems with SSH/FTP on LAN w0rmh0l3 Linux - Networking 10 03-08-2002 08:32 AM

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

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