Make sshd compatible with Debian image

Make sshd compatible with Debian image

diff --git a/templates/sshd.template.yml b/templates/sshd.template.yml
index 5b7f4b1..1de8538 100644
--- a/templates/sshd.template.yml
+++ b/templates/sshd.template.yml
@@ -38,9 +38,6 @@ run:
         - echo "$ssh_key" >> /root/.ssh/authorized_keys
         - echo "$$ENV_SSH_PUB_KEY" >> /root/.ssh/authorized_keys
         - chmod 640 /root/.ssh/authorized_keys
-        - rm /etc/update-motd.d/00-header
-        - rm /etc/update-motd.d/10-help-text
-        - rm /etc/legal
   - file:
      path: /etc/update-motd.d/00-discourse
      chmod: +x

GitHub sha: 1a1ea032

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there:

1 Like