Skip to content

Commit 6827c72

Browse files
committed
Fix deprecated IPQoS sshd flag Fixes #260 #259
1 parent 5735722 commit 6827c72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/modules/base/start_chroot_script

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ then
170170
fi
171171
touch /"${BASE_BOOT_MOUNT_PATH}"/ssh
172172
### Fix SSH incoming
173-
echo "IPQoS 0x00" >> /etc/ssh/sshd_config
173+
echo "IPQoS throughput" >> /etc/ssh/sshd_config
174174

175-
### Fix SSH outgoing
176-
echo "IPQoS 0x00" >> /etc/ssh/ssh_config
175+
# Restart ssh
176+
echo "IPQoS throughput" >> /etc/ssh/ssh_config
177177

178178
### Try and fix https://github.com/guysoft/OctoPi/issues/424
179179
if [ -f "/lib/systemd/system/regenerate_ssh_host_keys.service" ]; then

0 commit comments

Comments
 (0)