File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/motd || t
1717RUN echo "--by https://t.me/spiritlhl" >> /etc/motd || true
1818RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/banner || true
1919RUN echo "--by https://t.me/spiritlhl" >> /etc/banner || true
20- RUN mkdir /var/run/sshd
20+ RUN mkdir /var/run/sshd || true
2121RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
2222 sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && \
2323 sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/motd || t
1717RUN echo "--by https://t.me/spiritlhl" >> /etc/motd || true
1818RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/banner || true
1919RUN echo "--by https://t.me/spiritlhl" >> /etc/banner || true
20- RUN mkdir /var/run/sshd
20+ RUN mkdir /var/run/sshd || true
2121RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
2222 sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && \
2323 sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/motd || t
1717RUN echo "--by https://t.me/spiritlhl" >> /etc/motd || true
1818RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/banner || true
1919RUN echo "--by https://t.me/spiritlhl" >> /etc/banner || true
20- RUN mkdir /var/run/sshd
20+ RUN mkdir /var/run/sshd || true
2121RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
2222 sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && \
2323 sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/motd || t
1717RUN echo "--by https://t.me/spiritlhl" >> /etc/motd || true
1818RUN echo "Related repo https://github.com/oneclickvirt/docker" >> /etc/banner || true
1919RUN echo "--by https://t.me/spiritlhl" >> /etc/banner || true
20- RUN mkdir /var/run/sshd
20+ RUN mkdir /var/run/sshd || true
2121RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
2222 sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && \
2323 sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config
You can’t perform that action at this time.
0 commit comments