mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
wip: allow connection from docker container
This commit is contained in:
1 parent
5ba0021c37
commit
4c292fd6ba
6 files changed
+36
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user