From: Jakub Czajka Date: Sun, 25 Sep 2022 15:27:55 +0000 (+0200) Subject: [sshd] Listen on a non-standard port. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=4db522bb9d91f7e9b0b189fb0ee53618787c81ad;p=server.git [sshd] Listen on a non-standard port. By default `sshd` listens on port 22. Most attack scripts are written for this configuration. This commit changes the port to 72, which is not used by any other popular service. --- diff --git a/sshd/sshd_config b/sshd/sshd_config index 562b4f0..f08521d 100644 --- a/sshd/sshd_config +++ b/sshd/sshd_config @@ -12,7 +12,7 @@ Include /etc/ssh/sshd_config.d/*.conf -#Port 22 +Port 72 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress ::