rewrite conatiner to use the base image alpine:3.23
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
Port 22
|
||||
Protocol 2
|
||||
AddressFamily any
|
||||
ListenAddress 0.0.0.0
|
||||
ListenAddress ::
|
||||
|
||||
HostKey /sshkeys/host/ssh_host_rsa_key
|
||||
HostKey /sshkeys/host/ssh_host_ecdsa_key
|
||||
HostKey /sshkeys/host/ssh_host_ed25519_key
|
||||
|
||||
PermitRootLogin no
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
ChallengeResponseAuthentication no
|
||||
PubkeyAuthentication yes
|
||||
AuthenticationMethods publickey
|
||||
PermitEmptyPasswords no
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
StrictModes yes
|
||||
AllowUsers borg
|
||||
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
GatewayPorts no
|
||||
X11Forwarding no
|
||||
PermitTTY yes
|
||||
PermitTunnel no
|
||||
TCPKeepAlive yes
|
||||
ClientAliveInterval 300
|
||||
ClientAliveCountMax 3
|
||||
UseDNS no
|
||||
PrintMotd no
|
||||
|
||||
Subsystem sftp internal-sftp
|
||||
Reference in New Issue
Block a user