Add k8s manifest: configmap-ssh.yaml

This commit is contained in:
kaffa
2026-03-12 14:25:48 +09:00
parent b160166add
commit 8a594f9687

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ssh-config
data:
sshd_config: |
Port 22
PermitRootLogin no
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding no
PrintMotd yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server