#! /usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-sshd_config-XAUTHORITY,v 1.1 2025/03/21 15:19:26 mas90 Exp $
# patch to allow user ssh key based logins to sec=krb5 machines
# patch-file matches = AcceptEnv.XAUTHORITY
# patch-file distmatches = Fedora|CentOS|Red.Hat.Enterprise.Linux|Ubuntu|Debian
# Process using /usr/bin/CL-patch-file unless matching the above
--- /etc/ssh/sshd_config	2008-10-10 09:36:38.000000000 +0100
+++ /etc/ssh/sshd_config	2008-10-09 22:21:57.000000000 +0100
@@ -118 +118,4 @@
 Subsystem	sftp	/usr/libexec/openssh/sftp-server
+
+# cl.cam.ac.uk additions for krb5 access
+AcceptEnv XAUTHORITY
