From 8c8dbd03d41925da367ee7deb82dc0afd0305230 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 1 May 2020 08:35:23 +1000 Subject: [PATCH] DEV: remove unused sshd template No need to carry this template anymore we do not use it. --- templates/sshd.template.yml | 49 ------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 templates/sshd.template.yml diff --git a/templates/sshd.template.yml b/templates/sshd.template.yml deleted file mode 100644 index 605a11d..0000000 --- a/templates/sshd.template.yml +++ /dev/null @@ -1,49 +0,0 @@ -params: - # SSH key is required for remote access into the container - # you may also use ssh-import-id - ssh_key: "" - # so ssh-import-id works - -env: - HOME: /root - -run: - - - file: - path: /etc/service/sshd/run - chmod: "+x" - contents: | - #!/bin/bash - exec 2>&1 - exec /usr/sbin/sshd -D -e - - - file: - path: /etc/runit/3.d/99-ssh - chmod: "+x" - contents: | - #!/bin/bash - sv stop sshd - - - exec: - hook: sshd - cmd: - - apt -y install openssh-server - - mkdir -p /var/run/sshd - - mkdir -p /root/.ssh - - echo "$ssh_key" >> /root/.ssh/authorized_keys - - echo "$$ENV_SSH_PUB_KEY" >> /root/.ssh/authorized_keys - - chmod 640 /root/.ssh/authorized_keys - - - replace: - filename: /etc/pam.d/sshd - from: "session required pam_loginuid.so" - to: "" - - - file: - path: /etc/update-motd.d/00-discourse - chmod: +x - contents: | - #!/bin/sh - echo - echo Welcome to Discourse Docker - echo -- 2.25.1