initial import
All checks were successful
continuous-integration/drone/push Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 10s

This commit is contained in:
2025-01-27 08:49:55 +01:00
commit 9a5ac13382
11 changed files with 438 additions and 0 deletions

View File

@@ -0,0 +1 @@
Port 22

View File

@@ -0,0 +1,31 @@
HostKey /ssh/ssh_host_rsa_key
HostKey /ssh/ssh_host_ecdsa_key
HostKey /ssh/ssh_host_ed25519_key
#SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 1m
PermitRootLogin no
PubkeyAuthentication yes
MaxAuthTries 3
PrintMotd no
PermitUserEnvironment no
ClientAliveInterval 10
ClientAliveCountMax 3
UseDNS no
AuthorizedKeysFile /ssh/authorized_keys
PasswordAuthentication no
AllowAgentForwarding no
AllowTcpForwarding no
GatewayPorts no
X11Forwarding no
Subsystem sftp internal-sftp
# ChrootDirectory /data
ForceCommand /app/restricted-ssh ${SSH_ORIGINAL_COMMAND}