From 4db522bb9d91f7e9b0b189fb0ee53618787c81ad Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 25 Sep 2022 17:27:55 +0200 Subject: [PATCH] [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. --- sshd/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 :: -- 2.39.5