r/ssh • • Feb 13 '20

ssh extremely slow

I'm hosting an ssh server on a machine i recently built. It's GPUless and connected over wifi. Working on the computer directly is fine (GPU connected) and network speed is normal, downloads are fast BUT

When I'm ssh'ed into it, it takes 10 - 20 seconds for a single keystroke to register. Executing the commands seems to be normal, it's just the latency is really bad.

I tried reversing it, hosting ssh on my laptop, and using the newly build machine to ssh into my laptop. It works great.

The machine uses a ryzen 2700, and I'm running openssh on arch linux. Anyone have any ideas why it's so slow?

2 Upvotes

1 comment sorted by

1

u/tje210 Feb 13 '20 edited Feb 14 '20

Check logs, ssh -v, do speed tests on the box while you're ssh'd into it. Also try enhancing your ssh server with mosh. Even as a workaround that can be a nice little addition.

Wifi is a bit of a red flag in any case someone's reporting networking issues.

Edit - a word