Skip to content

sshd

Enables secure remote access to the machine over ssh.

System
Network

Roles

The sshd module has the following roles:

  • client
  • server

Options for the client role

certificate.searchDomains

List of domains to include in the certificate. This option will prepend the machine name in front of each domain before adding it to the certificate.

Type: list of string

Default:

[ ]
Example
[
  "mydomain.com"
]

Declared in: clanServices/sshd/default.nix

Options for the server role

certificate.searchDomains

List of domains to include in the certificate. This option will prepend the machine name in front of each domain before adding it to the certificate.

Type: list of string

Default:

[ ]
Example
[
  "mydomain.com"
]

Declared in: clanServices/sshd/default.nix

hostKeys.rsa.enable

Whether to enable Generate RSA host key.

Type: boolean

Default:

false
Example
true

Declared in: clanServices/sshd/default.nix