inaabi / Guides / What a CIS Benchmark for Ubuntu is
What a CIS Benchmark for Ubuntu is
A CIS Benchmark is a configuration list from CIS. A scanner percentage is not a certification. Check one SSH setting before you change the server.
Tested on Debian GNU/Linux 12 (bookworm), OpenSSH 9.2p1, 2026-12-04.
A CIS Benchmark is a configuration document published by the Center for Internet Security. Ubuntu has its own Benchmark, and 22.04 is not the same document as 24.04. You download it from CIS, under CIS's terms.
A tool that prints "CIS score 82" compared a host to some profile. That number is not a certification. CIS certification is a separate process. Inaabi does not include CIS Benchmarks. Inaabi is not CIS certified. FIPS 140 and Common Criteria are not held. FIPS 140 is not held. Common Criteria is not held. The command-line tool is not out yet.
This page does not copy Benchmark text. The OpenSSH commands below were run on Debian 12, package 1:9.2p1-2+deb12u10, on 2026-12-04. Ubuntu 22.04 was not booted. The first-match rule is what that binary did, and it is the rule in sshd_config(5). Run sshd -T on the Ubuntu host before you trust a drop-in there.
Read the effective SSH value
OpenSSH keeps the first value it finds for a keyword. A file named 99-later.conf does not override 00-early.conf.
The test used /usr/sbin/sshd and a lab config under /tmp, passed with -f. The host daemon was not reloaded. Before any drop-in, sshd -t -f exited 0 and sshd -T -f printed:
maxauthtries 6
clientaliveinterval 0
permitrootlogin yes
x11forwarding yes
00-early.conf contained MaxAuthTries 3. 99-late.conf contained MaxAuthTries 4. The effective line was:
maxauthtries 3
The later file was loaded and ignored. That is the check for any SSH recommendation in the Ubuntu Benchmark: sshd -T after sshd -t, and the keyword you meant to set has to be the one that prints.
On a server the directory is /etc/ssh/sshd_config.d/. Put the setting in a 00- file so it is first. The copy into that directory was not part of this run. The tested commands are the -f form, against a config you can delete.
Undo it
Delete both drop-ins. The same sshd -T -f printed maxauthtries 6 again, which is what the lab config set as the base. sshd -t -f exited 0 before and after.
Do not turn on a host firewall, or set PermitRootLogin no, from the only session you have, in the same script as every other recommendation. One change, a syntax check, a second login, then the next change. A reload was not run here.
A recommendation you will not apply needs a record, not a sentence in chat. The fields are on the exception page. Use the recommendation id from the Benchmark you downloaded.
A STIG finding id is a different document. Passing this check does not mean a STIG finding is met. That check is the RHEL 9 page.
Questions
Is a scanner percentage a CIS certification?
No. Certification is a process CIS runs separately. The percentage is the scanner's count against a profile.
Does this page include the Benchmark?
No. The Benchmark stays on cisecurity.org. Copying it here would break CIS's terms, and this page does not do that.
Were the commands run on Ubuntu 22.04?
No. They were run on Debian 12's OpenSSH 9.2p1. Ubuntu 22.04's sshd was not executed, because a container for that image did not finish starting. The man page and this binary agree that the first value wins. Confirm with sshd -T on the Ubuntu machine.