From 283c7a1e609ac1f0373a36e0e1aa9ce4d0219355 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 2 May 2024 15:42:51 -0700 Subject: [PATCH] Improve ssh responsiveness on slow Wi-Fi networks (#222) * no loss of interactivity at 300 Kbps, whereas we were struggling before at 4 Mbps and below. previously 300 Kbps meant no ssh packets from the device indefinitely * Update userspace/files/sshd_config * Update userspace/files/sshd_config * Update userspace/files/sshd_config * format --- userspace/files/sshd_config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/userspace/files/sshd_config b/userspace/files/sshd_config index ee969a2..e69d04e 100644 --- a/userspace/files/sshd_config +++ b/userspace/files/sshd_config @@ -68,6 +68,11 @@ TCPKeepAlive yes ClientAliveInterval 10 ClientAliveCountMax 3 +# The default DSCP of 0x10 lumps ssh traffic in with all other potentially high +# bandwidth traffic. Raise the priority to ensure that this interactive traffic +# remains responsive even when we are bandwidth limited. +IPQoS af42 # 36, HDD_LINUX_AC_VI with the minimum delay flag + #MaxStartups 10:30:60 #Banner /etc/issue.net