tjhowse<p>TIL of a deliberate source of Heisenbugs in the default sshd config:</p><p>MaxStartups 5:50:10</p><p>This means: Allow up to 5 simultaneous "starting" SSH connections. Between 5 and 10 starting connections, drop them randomly 50% of the time. Above 10: Do not allow any new SSH connections to start.</p><p>Took me a long time to diagnose why a particular combination of concurrent SSH processes would fail occasionally when connecting to this embedded machine.</p><p><a href="https://www.simplified.guide/ssh/limit-simultaneous-connections" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">simplified.guide/ssh/limit-sim</span><span class="invisible">ultaneous-connections</span></a></p><p><a href="https://howse.social/tags/sshd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sshd</span></a> <a href="https://howse.social/tags/ansible" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ansible</span></a> <a href="https://howse.social/tags/swdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swdev</span></a></p>