SSH connections time out, but only to public IPs (DSCP EF dropped on Wi-Fi)
- Field note
OpenSSH marks its packets, including the first SYN, with DSCP EF (IP_TOS 0xb8). On Wi-Fi, WMM maps EF to the voice queue (AC_VO). When the access point's WMM or admission-control state goes bad, it silently drops voice-marked frames while unmarked traffic keeps flowing. The SSH handshake dies before the banner, and everything else on the machine looks fine.
That also explains why VPN-tunnelled hosts were spared: the outer packet carries TOS 0, so the router never sees the mark.
Confirming it from the client
ping -c 8 -Q 0x00 1.1.1.1 # 8/8 replies
ping -c 8 -Q 0xb8 1.1.1.1 # 0/8 while the fault is active
ssh -vvv host 2>&1 | grep IP_TOS # set socket 3 IP_TOS 0xb8
ssh -o IPQoS=none host # connectsEvery target failed the same way (two public resolvers and the server), so the drop is on the local Wi-Fi hop, not at the destination. Forcing IPv4 changed nothing.
The fix
# ~/.ssh/config
Host *
IPQoS noneIt costs nothing on a laptop and makes SSH immune to the fault. If it keeps happening, turn off WMM/QoS on the access point, update its firmware, or use a cable.