MyNixOS website logo
option

services.openssh.ports

Specifies on which ports the SSH daemon listens.

Declarations
Type
list of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
[
  22
]