SSH slow but apache isn't?
I am running a server on Ubuntu 14.04.1 LTS. I can connect to it with 30ms both through the DNS and direct IP. I can also visit the webpage it hosts using apache2, and load it quickly, which means the server is running and it's not a server lag problem. When i connect to SSH or SFTP however, it takes about 15 seconds for it to register the keys i pressed. I have made sure the client ip is in the /etc/hosts file. I have changed options in the /etc/ssh/ssh_config and /etc/ssh/ssdh_config files, and still no luck. It started doing this right after we updated the server to fix an oops error it was having about 3 minutes after boot(again, ssh would be broken, but apache would stay running even with the oops error) Does anyone know how to fix this?
EDIT:
just checked, the ssh is slow even over lan, not just over internet, so it must be a problem with the ssh service itself(at least that's how i see it)
Last edited by jonjetjon; 11-26-2014 at 08:56 PM.
Reason: new information
|