Skip to content

Commit

Permalink
Added user- prefix to sshd_config.d files
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Aug 26, 2024
1 parent 61ccae6 commit 8fa6bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/remote/helpers/portfwd-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fa6bfb

Please sign in to comment.