summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:39 +0000
commite4f5f15304a5bef7182ec2778b630506a404d4eb (patch)
tree89e46872a64f15784369ff46c5bc2e8bbce284cc /debian/patches
parentSetting AuthorizedKeysFile in sshd_config to /etc/ssh/authorized_keys/%u .ssh... (diff)
downloadopenssh-e4f5f15304a5bef7182ec2778b630506a404d4eb.tar.xz
openssh-e4f5f15304a5bef7182ec2778b630506a404d4eb.zip
Setting AllowAgentForwarding in sshd_config to no.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/progress-linux/0023-sshd_config-AllowAgentForwarding.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0023-sshd_config-AllowAgentForwarding.patch b/debian/patches/progress-linux/0023-sshd_config-AllowAgentForwarding.patch
new file mode 100644
index 0000000..f57afbd
--- /dev/null
+++ b/debian/patches/progress-linux/0023-sshd_config-AllowAgentForwarding.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting AllowAgentForwarding in sshd_config to no.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -90,7 +90,7 @@ ChallengeResponseAuthentication no
+ # and ChallengeResponseAuthentication to 'no'.
+ UsePAM yes
+
+-#AllowAgentForwarding yes
++AllowAgentForwarding no
+ #AllowTcpForwarding yes
+ #GatewayPorts no
+ X11Forwarding yes
diff --git a/debian/patches/series b/debian/patches/series
index debba12..128117a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -56,3 +56,4 @@ progress-linux/0019-sshd_config-PubkeyAcceptedKeyTypes.patch
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