disable strict permission check of ssh

This commit is contained in:
leafee98 2023-07-04 11:00:52 +08:00
parent 3388c23723
commit 92f406b755

View file

@ -26,6 +26,8 @@ RUN true \
&& locale-gen \ && locale-gen \
&& update-locale LANG=C.UTF-8 \ && update-locale LANG=C.UTF-8 \
\ \
&& sed -E -i 's/^.*StrictModes.*$/StrictModes no/' '/etc/ssh/sshd_config' \
\
&& usermod --shell /usr/bin/zsh root \ && usermod --shell /usr/bin/zsh root \
\ \
&& mkdir /run/sshd \ && mkdir /run/sshd \