This module will load and configure the open shh service.
This module enables SSH and Fail2Ban a service that bans ips if they try to many times. Secure Shell (SSH) is a cryptographic protocol that allows remote access and operation of network services over an unsecured network. It uses public-key authentication, encryption, and tunneling to protect data and user identities.
This is what the options look like you can add to your machine-settings:
{
machine-settings.system.modules.openssh = {
enable = boolean;
};
}
Take a look at this guide for more information. Another highly important guide is the Fail2ban guide.