#! /usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-sshd_config-AuthorizedKeysFile-var-spool,v 1.3 2025/03/21 15:19:26 mas90 Exp $
# patch to use /var/spool/ssh/$USER for ssh user key
# patch-file matches = /var/spool/ssh/%u
# patch-file distmatches = Ubuntu.1[0-7]
# Process using /usr/bin/cl-patch-file unless matching the above
--- /etc/ssh/sshd_config	2012-04-28 12:24:36.000000000 +0100
+++ /etc/ssh/sshd_config	2013-05-26 09:44:08.000000000 +0100
@@ -33 +33 @@
-AuthorizedKeysFile	/local/scratch/%u/.ssh/authorized_keys %h/.ssh/authorized_keys
+AuthorizedKeysFile	/var/spool/ssh/%u /local/scratch/%u/.ssh/authorized_keys
