This commit is contained in:
randogoth 2025-10-18 11:05:20 +03:00
commit 48372efb6d
5 changed files with 173 additions and 0 deletions

18
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