From e4f5f15304a5bef7182ec2778b630506a404d4eb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:35:39 +0200 Subject: Setting AllowAgentForwarding in sshd_config to no. Signed-off-by: Daniel Baumann --- .../0023-sshd_config-AllowAgentForwarding.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/progress-linux/0023-sshd_config-AllowAgentForwarding.patch (limited to 'debian/patches') 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 +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 -- cgit v1.2.3