svarbox/sshd_config
randogoth 48372efb6d init
2025-10-18 11:05:20 +03:00

18 lines
437 B
Text

# minimal sshd_config for container
Port 22
ListenAddress 0.0.0.0
Protocol 2
PermitRootLogin no
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding no
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
# Force our wrapper for dosuser (prevents a normal shell)
Match User dosuser
ForceCommand /usr/local/bin/dos-shell
PasswordAuthentication yes
PermitTTY yes