summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-01-25 08:47:53 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-01-25 08:47:53 +0000
commit10fb7f4c6d07d409040eccc71a0320dd457b9c23 (patch)
tree732d5937db6b4a1c7e292297cbf1ca2aa7167e16
parent221aee86f4d4291434dc60569d3d58da99639ffe (diff)
downloadvyos-1x-10fb7f4c6d07d409040eccc71a0320dd457b9c23.tar.gz
vyos-1x-10fb7f4c6d07d409040eccc71a0320dd457b9c23.zip
sshd: T4205: Hide extra version suffix "Debian"
Disable distribution-specified extra version suffix is included during initial protocol handshake SSH-2.0-OpenSSH_8.4p1 Debian-5 => SSH-2.0-OpenSSH_8.4p1
-rw-r--r--data/templates/ssh/sshd_config.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/ssh/sshd_config.tmpl b/data/templates/ssh/sshd_config.tmpl
index 2f2b78a66..670cf85a1 100644
--- a/data/templates/ssh/sshd_config.tmpl
+++ b/data/templates/ssh/sshd_config.tmpl
@@ -29,6 +29,7 @@ UsePAM yes
PermitRootLogin no
PidFile /run/sshd/sshd.pid
AddressFamily any
+DebianBanner no
#
# User configurable section