2

I'm trying to use various ncurses programs through ssh but there's lag up/down in the sshd. I'm wondering if there are any tips like sshd config settings or tcp/ip settings that can help reduce the latency.

Joe Moe
  • 21
  • 2

1 Answers1

2

The limiting factor for bandwidth is usually ssh's own internal buffers (see hpn-ssh). However you are talking about latency. You need to have a long hard look at how much of the latency is inherent in the network and how much is down to ssh. You've not provided any information about the ssh client/server you are using. OpenSSH (and probably most other implementations) have nagle disabled by default - implying that the problems are on your network.

Assuming that you've eliminated MTU and TCP Window scaling issues, there's not a lot you can do about latency other than looking at dedicated links.

symcbean
  • 21,009
  • 1
  • 31
  • 52