feat: remove welcome banner

This commit is contained in:
Justin Lin committed 2024-10-13 16:31:17 +08:00
1 parent a6720cfe39
commit 2a3429106c
4 files changed
+10 -20

No files matched your search

+1
View File
@@ -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