forked from finn/tinyboard
fix container sftp2
This commit is contained in:
@@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y autossh openssh-client && rm -rf /var/l
|
|||||||
|
|
||||||
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
|
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
|
||||||
RUN echo "PasswordAuthentication no" >> /etc/ssh/sshd_config
|
RUN echo "PasswordAuthentication no" >> /etc/ssh/sshd_config
|
||||||
|
RUN echo "Subsystem sftp internal-sftp" >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
RG UID=1000
|
RG UID=1000
|
||||||
ARG GID=1000
|
ARG GID=1000
|
||||||
|
|||||||
Reference in New Issue
Block a user