Slow SSH response
I'm not too sure how to describe this problem. I'm just as confused on how to solve it. Basically I have an SSH server setup on a remote server. This server isn't a PC, nor is it physically accessible by me.
I connect to it via SSH, using a client on my (current) local PC to the SSH server. The login process isn't slow at all, which seems to be the dominant Slow SSH problem I've read about.
Instead, it'll connect and then things will be slow. Sometimes the login process does reflect the same slowness as when connected, other times it does not. Even when connected the slowness isn't always exhibited (or at least noticable).
Example: I'll type in "ls -l" or something simple. The characters don't appear on the screen until a second later. I'll have executed the command before it even shows up. It gets worse too. When the command runs, it might freeze a bit, pause here and there. "ps waxu" has displayed this on several occasions.
Then there's vim, how I edit all my text files. I usually just open up, and blaze right through. But, when the connection seems to "drop" intermittently, this becomes... difficult.
So if you're still reading this, thanks cause I'm about to go over what I've tried to solve it. I've tried the following:
1) I've got a Windows laptop that has PuTTY installed. I tried to connect to my SSH server using PuTTY. I don't get the same SSH Slowness.
2) The loadavg's on the server are usually around 0 to 0.1. And there don't seem to be any run away processes hogging the system.
3) I rebooted the server. No effect. (Aww my uptime is gone!!!)
4) I rebooted my local PC. No effect. (Another lost uptime)
5) My local PC has two linux installs on it: Mandrake 9.1, and my "dubbed" distro Frozix which is LFS based. I went into Mandrake to see if the problem could be produced there, and, it was.
6) I added the server's info (IP/HOSTNAME) to my /etc/hosts file. No effect.
7) I switched the CAT5 cable that leads from my NIC to my internet switch. Didn't do anything.
The laptop plugs into the same switch as my local PC, so, since PuTTY doesn't seem to experience any problems, I have no idea why I'm getting this intermittent 'slowness' issue.
Any ideas? (thanks alot to anyone who replies)
I should note that the slowness I'm experiencing isn't typical internet 'lag', since this problem just surfaced, oh, a few days ago. My noticing it is what prompted my attempted solution.
Last edited by fr0zen; 04-08-2004 at 05:09 PM.