mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
feat: remove welcome banner
This commit is contained in:
1 parent
a6720cfe39
commit
2a3429106c
4 files changed
+10
-20
No files matched your search
@@ -30,6 +30,7 @@ COPY ./ssh_pubkey /home/${USERNAME}/.ssh/authorized_keys
|
||||
RUN chmod 600 /home/${USERNAME}/.ssh/authorized_keys \
|
||||
&& chmod 700 /home/${USERNAME}/.ssh \
|
||||
&& chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.ssh
|
||||
RUN rm -f /etc/motd /etc/issue /etc/issue.net /etc/update-motd.d/*
|
||||
|
||||
RUN service ssh start
|
||||
|
||||
|
||||
Reference in new issue
Block a user