add default ssh

This commit is contained in:
Bernhard Radermacher
2026-02-26 12:45:12 +01:00
parent 8becc08c55
commit 9f5f98e4bd
3 changed files with 10 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ RUN apt-get update && \
echo "postgres ALL = (ALL) NOPASSWD:ALL" >> /etc/sudoers && \
echo "X11Forwarding no" >> /etc/ssh/sshd_config && \
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config && \
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config \
COPY ssh /ssh/
RUN set -eux && \
grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker && \