diff options
author | Vladimir Still <xstill@mail.muni.cz> | 2014-09-01 13:02:39 +0200 |
---|---|---|
committer | Vladimir Still <xstill@mail.muni.cz> | 2014-09-01 22:56:35 +0200 |
commit | a2394f09c7003efc238eb065afdd57221f6ba257 (patch) | |
tree | ac550167afee6c4705f476c8016434e12a49652f /nixos | |
parent | ac39d839c3dccb2890b64a3fbe1a28d8aba1007f (diff) | |
download | nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.tar nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.tar.gz nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.tar.bz2 nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.tar.lz nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.tar.xz nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.tar.zst nixlib-a2394f09c7003efc238eb065afdd57221f6ba257.zip |
sshd: Add note about listening on port 22 to listenAddresses.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/ssh/sshd.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 9b2f56fa400a..956c31a8ba36 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -151,7 +151,8 @@ in description = '' List of addresses and ports to listen on (ListenAddress directive in config). If port is not specified for address sshd will listen - on all ports specified by ports option. + on all ports specified by <literal>ports</literal> option. + NOTE: this will override default listening on all local addresses and port 22. NOTE: setting this option won't automatically enable given ports in firewall configuration. ''; |