Audit an SSH host
Before you start: Settings → Tools → External Tools → Check Tools, and install what is missing
(ssh-audit, openssl@3, trivy, lynis).
1. From outside
Section titled “1. From outside”- Open an SSH tab to the server: SecTools fills Host and Port from the active tab.
- SSH Audit… → Run SSH Audit. Leave the rate test off unless you want to test
MaxStartups/PerSourcePenalties: it may block your address. - TLS Check… for each TLS port (443, 993, 25 with STARTTLS by port).
- Check Services… to see whether Redis, Docker API, etcd, kubelet and similar answer without a login. Untick services you do not want probed.
2. From inside
Section titled “2. From inside”These use the SSH tab’s login. Scan Packages and Audit Host write nothing on the server; Lynis is copied to /tmp for the run and removed.
- Update Database… once (about 140 MB), optionally Update Exploit Data… (about 29 MB).
- Scan Packages…: package databases are copied over SFTP and checked by trivy on your Mac.
- Audit Host…: read-only scripts, no sudo.
- Run Lynis…: as the login user, or With sudo for a full audit. In sudo mode the line
is typed into the tab’s terminal; press Return and type the sudo password there, then
Fetch Report. The copy in
/tmp/kryodesk-lynis.*is removed afterwards.
3. Keep the evidence
Section titled “3. Keep the evidence”Every dialog has Copy Log with the commands, raw answers and findings. Lynis copies that were not removed (lost connection, closed app) are listed in the Lynis dialog until you remove them.
Details: SecTools window, Network checks, Host checks.