2 # SSH key is required for remote access into the container
3 # you may also use ssh-import-id
5 # so ssh-import-id works
13 filename: /etc/pam.d/sshd
14 from: "session required pam_loginuid.so"
19 path: /etc/service/sshd/run
24 exec /usr/sbin/sshd -D -e
27 path: /etc/runit/3.d/99-ssh
36 - mkdir -p /var/run/sshd
38 - echo "$ssh_key" >> /root/.ssh/authorized_keys
39 - echo "$$ENV_SSH_PUB_KEY" >> /root/.ssh/authorized_keys
40 - chmod 640 /root/.ssh/authorized_keys
41 - rm /etc/update-motd.d/00-header
42 - rm /etc/update-motd.d/10-help-text
45 path: /etc/update-motd.d/00-discourse
50 echo Welcome to Discourse Docker