mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-24 01:33:53 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user