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

5
config/dos_allowed Normal file
View file

@ -0,0 +1,5 @@
# List relative paths under /opt/allowed_repo that should be copied into C:\
# Examples:
# utils/debug.exe
# games/prince/prince.exe
# Leave empty to boot with only the default DOS tools bundled with dosemu.

18
config/sshd_config Normal file
View file

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