wip: allow connection from docker container

This commit is contained in:
Justin Lin committed 2024-10-13 15:05:20 +08:00
1 parent 5ba0021c37
commit 4c292fd6ba
6 files changed
+36 -22

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ RUN chmod 600 /home/${USERNAME}/.ssh/authorized_keys \
&& chmod 700 /home/${USERNAME}/.ssh \
&& chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.ssh
RUN apt-get install -y net-tools
RUN service ssh start
EXPOSE 22