This commit is contained in:
2026-08-12 11:59:14 +02:00
parent 3c4cfc9703
commit c87a5d3e7f
111 changed files with 19381 additions and 0 deletions
@@ -0,0 +1,20 @@
# --- KUBE SFTP GLOBAL BEGIN ---
PermitRootLogin no
PermitUserEnvironment no
LoginGraceTime 30
MaxAuthTries 3
MaxSessions 5
MaxStartups 200:30:500
Compression no
DebianBanner no
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
HostKeyAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256
PubkeyAcceptedAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256
# --- KUBE SFTP GLOBAL END ---
@@ -0,0 +1,22 @@
# --- KUBE SFTP GROUP BEGIN ---
Match Group {{sftp_access_group}}
ChrootDirectory %h
ForceCommand internal-sftp -d /www -u 027
PasswordAuthentication yes
KbdInteractiveAuthentication no
PubkeyAuthentication yes
PermitTTY no
PermitTunnel no
AllowTcpForwarding no
AllowAgentForwarding no
AllowStreamLocalForwarding no
X11Forwarding no
ClientAliveInterval 300
ClientAliveCountMax 2
# --- KUBE SFTP GROUP END ---