Provision restricted SFTP access on web nodes

This commit is contained in:
parkel committed 2026-11-21 10:56:06 +01:00
1 parent 56c4b8e72c
commit a3f7a2e7cb
10 files changed
+350 -19

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
Match Group coulobre-sftp
AuthenticationMethods publickey
PubkeyAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no
AuthorizedKeysFile /etc/ssh/coulobre-authorized-keys/%u
AuthorizedKeysCommand none
TrustedUserCAKeys none
ChrootDirectory %h
ForceCommand internal-sftp -d /public -u 0022 -P symlink,hardlink
DisableForwarding yes
PermitTunnel no
PermitTTY no
PermitUserRC no
Match all