From 8fa6bfbd1d2f7b6f2107a39cfc2bd91f7b44ef37 Mon Sep 17 00:00:00 2001 From: dmotte <37443982+dmotte@users.noreply.github.com> Date: Tue, 27 Aug 2024 00:54:25 +0200 Subject: [PATCH] Added user- prefix to sshd_config.d files --- example/remote/helpers/portfwd-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/remote/helpers/portfwd-user.sh b/example/remote/helpers/portfwd-user.sh index b1180ee..af315a1 100644 --- a/example/remote/helpers/portfwd-user.sh +++ b/example/remote/helpers/portfwd-user.sh @@ -40,7 +40,7 @@ fi echo "Creating sshd config file $user.conf" -cat << EOF > "/etc/ssh/sshd_config.d/$user.conf" +cat << EOF > "/etc/ssh/sshd_config.d/user-$user.conf" Match User $user AllowAgentForwarding no AllowTcpForwarding $allow_tcp_forwarding