summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorVladimir Still <xstill@mail.muni.cz>2014-09-01 13:02:39 +0200
committerVladimir Still <xstill@mail.muni.cz>2014-09-01 22:56:35 +0200
commita2394f09c7003efc238eb065afdd57221f6ba257 (patch)
treeac550167afee6c4705f476c8016434e12a49652f /nixos
parentac39d839c3dccb2890b64a3fbe1a28d8aba1007f (diff)
downloadnixlib-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.nix3
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.
         '';