问题原文
原帖链接 · ecnepsnai · CC BY-SA 3.0
I have a CentOS 6-x64 Server running through VirtualBox on Windows Server 2012R2, but whenever I SSH into it, it's painfully slow. This happens for both Putty on Windows, and SSH on OS X. I've read through countless of posts about slow login, but this is just an all-around sluggishness.
These are the things I have checked:
- I've disabled DNS for sshd
- I'm connecting using an IP address on the same subnet
- There isn't massive traffic going to or from the host machine
社区高分解答
原帖链接 · Mathieu Borderé · CC BY-SA 4.0
Because this is pretty high in Google search results, here's my stab. I fixed sluggish ssh and high ping latencies on my local WiFi network by turning off WiFi Power Saver (on Linux) but might be applicable to other OS's too.
sudo iwconfig wlan0 power off
Replace wlan0 with the name of your wireless interface if it's different. You'll have to make this change permanent by adapting systemd or other configs (see e.g. https://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
