summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:46 +0000
commit662841f4c9cb4f79661c0544986b1bcf12e39545 (patch)
tree3e0d9dd53cabf8f921f5958d90837ddffdaf4b7e
parentSetting AllowAgentForwarding in sshd_config to no. (diff)
downloadopenssh-662841f4c9cb4f79661c0544986b1bcf12e39545.tar.xz
openssh-662841f4c9cb4f79661c0544986b1bcf12e39545.zip
Setting DebianBanner in sshd_config to no.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch b/debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch
new file mode 100644
index 0000000..8e84851
--- /dev/null
+++ b/debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting DebianBanner in sshd_config to no.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -113,6 +113,7 @@ PrintMotd no
+
+ # no default banner path
+ #Banner none
++DebianBanner no
+
+ # Allow client to pass locale environment variables
+ AcceptEnv LANG LC_*
diff --git a/debian/patches/series b/debian/patches/series
index 128117a..56b7e16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -57,3 +57,4 @@ progress-linux/0020-sshd_config-HostCertificate.patch
progress-linux/0021-sshd_config-HostKey.patch
progress-linux/0022-sshd_config-AuthorizedKeysFile.patch
progress-linux/0023-sshd_config-AllowAgentForwarding.patch
+progress-linux/0024-sshd_config-DebianBanner.patch