]> git.ekhem.eu.org Git - server.git/commitdiff
[sshd] Disable reverse DNS checks.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 25 Sep 2022 19:35:16 +0000 (21:35 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Wed, 27 Sep 2023 21:57:20 +0000 (23:57 +0200)
By default `sshd` compares the IP address of the client with the
result of a reverse DNS query for that address. However, many clients
do not have reverse DNS records. This commit disables the check.

sshd/sshd_config

index 244f573ed7f064b68c9bd3e4e5ebabee31051102..6849906d74599db164c2662270895dac4a6e25c1 100644 (file)
@@ -99,7 +99,7 @@ PrintMotd no
 #Compression delayed
 #ClientAliveInterval 0
 ClientAliveCountMax 1
-#UseDNS no
+UseDNS no
 #PidFile /var/run/sshd.pid
 #MaxStartups 10:30:100
 #PermitTunnel no