feat(v2): complete v2 reimplementation

This commit is contained in:
2026-07-31 13:33:39 +02:00
parent 396219e776
commit bd107d6a30
137 changed files with 20737 additions and 155 deletions
+28
View File
@@ -0,0 +1,28 @@
Port 2222
ListenAddress 0.0.0.0
HostKey /run/sshd/ssh_host_ed25519_key
PidFile /run/sshd/sshd.pid
AuthorizedKeysFile /run/sshd/authorized_keys
UsePAM no
PasswordAuthentication no
KbdInteractiveAuthentication no
ChallengeResponseAuthentication no
PermitRootLogin no
PermitEmptyPasswords no
PubkeyAuthentication yes
PermitUserEnvironment no
AllowTcpForwarding no
X11Forwarding no
PermitTunnel no
PermitTTY no
GatewayPorts no
AllowAgentForwarding no
LogLevel VERBOSE
Subsystem sftp internal-sftp
Match User backup
ChrootDirectory /home/backup
ForceCommand internal-sftp
AllowTcpForwarding no
X11Forwarding no
PermitTTY no