services.autossh.sessions.*.monitoringPort

NixOS option

Port to be used by AutoSSH for peer monitoring. Note, that AutoSSH also uses mport+1. Value of 0 disables the keep-alive style monitoring

type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
0
Example
20000
declared in: nixos/modules/services/networking/autossh.nixView source on NixOS/nixpkgs →