summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch
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 /debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch
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>
Diffstat (limited to 'debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch')
-rw-r--r--debian/patches/progress-linux/0024-sshd_config-DebianBanner.patch14
1 files changed, 14 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_*