k8s-mgmt-pod/docker/sshd/10-lfk-base.conf
Michael Trip 5584dc1f29
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 1m35s
Update SSH port from 22 to 2222 in Dockerfile, entrypoint, and Kubernetes configurations
2026-06-23 15:48:15 +02:00

15 lines
No EOL
398 B
Text

Protocol 2
PermitRootLogin no
PubkeyAuthentication yes
HostKey /var/lib/k8s-mgmt-pod/ssh_host_rsa_key
HostKey /var/lib/k8s-mgmt-pod/ssh_host_ecdsa_key
HostKey /var/lib/k8s-mgmt-pod/ssh_host_ed25519_key
AuthorizedKeysFile .ssh/authorized_keys
UsePAM yes
X11Forwarding no
AllowTcpForwarding no
AllowAgentForwarding no
PermitEmptyPasswords no
PrintMotd no
ClientAliveInterval 300
ClientAliveCountMax 2