18 lines
437 B
Text
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
|