Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-08-2005, 10:28 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Rep:
|
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
|
|
|
01-08-2005, 11:37 AM
|
#2
|
Member
Registered: Oct 2004
Distribution: Mandrake, DSL, SuSE, RedHat
Posts: 71
Rep:
|
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.
|
|
|
01-08-2005, 07:41 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Original Poster
Rep:
|
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
|
|
|
01-09-2005, 03:41 AM
|
#4
|
Member
Registered: Oct 2004
Distribution: Mandrake, DSL, SuSE, RedHat
Posts: 71
Rep:
|
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).
|
|
|
All times are GMT -5. The time now is 10:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|