harden_ssh
Apply SSH hardening best practices: disable root login and password authentication, and set maximum authentication attempts. Requires existing key-based access.
Instructions
Apply SSH hardening best practices via a drop-in file: disable root login, disable password auth, set MaxAuthTries. IMPORTANT: ensure you have key-based auth working before running this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| maxAuthTries | No | ||
| sudo_password | No | ||
| disableRootLogin | No | ||
| disablePasswordAuth | No |