init
This commit is contained in:
commit
48372efb6d
5 changed files with 173 additions and 0 deletions
18
sshd_config
Normal file
18
sshd_config
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue