Chris's Wiki :: blog/sysadmin/WhyIncludeWithExtension Commentshttps://utcc.utoronto.ca/~cks/space/blog/sysadmin/WhyIncludeWithExtension?atomcommentsDWiki2020-10-26T13:05:14ZRecent comments in Chris's Wiki :: blog/sysadmin/WhyIncludeWithExtension.By sapphirepaw on /blog/sysadmin/WhyIncludeWithExtensiontag:CSpace:blog/sysadmin/WhyIncludeWithExtension:f8e6ec5c92d5913cfa5142c23787bee52b1e88fesapphirepawhttps://www.sapphirepaw.org/<div class="wikitext"><p>Pro tip I discovered the hard way: the version of sshd that was included in Ubuntu 20.04 LTS (i.e. OpenSSH 8.2) has a bug. If you <code>Include</code> files that contain <code>Match</code> blocks, those <code>Match</code> blocks are silently ignored. If you do an <code>Include</code> <em>within</em> a <code>Match</code> block, that works as expected.</p>
<p>This was fixed in OpenSSH 8.4.</p>
</div>2020-10-26T13:05:14ZBy dozzie on /blog/sysadmin/WhyIncludeWithExtensiontag:CSpace:blog/sysadmin/WhyIncludeWithExtension:5865a7469fd4a88c415594dd5feb15f25bb5573ddozzie<div class="wikitext"><blockquote><p>Other methods of marking which snippets should be active don't cooperate as well with common package managers and generally aren't as obvious.</p>
</blockquote>
<p><code><prefix>-available</code> + <code><prefix>-enabled</code> comes quite close, but I agree it's a little bit less convenient than only including specific extension.</p>
</div>2020-10-24T17:27:11ZBy David Magda on /blog/sysadmin/WhyIncludeWithExtensiontag:CSpace:blog/sysadmin/WhyIncludeWithExtension:0d94e9dcb2e8caa872fe1b255a59d25fb74e2049David Magdahttp://www.magda.ca/<div class="wikitext"><p>Added in 8.2 (bz#2468):</p>
<ul><li><a href="https://www.openssh.com/txt/release-8.2">https://www.openssh.com/txt/release-8.2</a></li>
<li><a href="https://man.openbsd.org/sshd_config#Include">https://man.openbsd.org/sshd_config#Include</a></li>
<li><a href="https://bugzilla.mindrot.org/show_bug.cgi?id=2468">https://bugzilla.mindrot.org/show_bug.cgi?id=2468</a></li>
</ul>
<p>As of 8.4 it is also possible to have <code>UserKnownHostsFile</code> point to a directory as well (bz#1654):</p>
<ul><li><a href="http://www.openssh.com/txt/release-8.4">http://www.openssh.com/txt/release-8.4</a></li>
<li><a href="https://bugzilla.mindrot.org/show_bug.cgi?id=1654">https://bugzilla.mindrot.org/show_bug.cgi?id=1654</a></li>
</ul>
</div>2020-10-24T16:31:24Z