This commit is contained in:
randogoth 2025-10-18 11:47:07 +03:00
parent 48372efb6d
commit daae8bd74e
9 changed files with 184 additions and 34 deletions

View file

@ -1,18 +0,0 @@
# 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