From e1bf9e232d13753bdb393406a1ed657d7e900dde Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Fri, 26 May 2017 09:56:47 +0200 Subject: [PATCH] Disable strict host key checking --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 50b12b2..681dc01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,10 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig && rm -f /usr/sbin/sendmail \ && ln -s /usr/bin/msmtp /usr/sbin/sendmail \ +# Disable strict host key checking +&& sed -i -e 's/^# Host \*/Host */g' /etc/ssh/ssh_config \ +&& sed -i -e 's/^# StrictHostKeyChecking ask/ StrictHostKeyChecking yes/g' /etc/ssh/ssh_config \ + # Get BackupPC, it will be installed at runtime to allow dynamic upgrade of existing config/pool && curl -o /root/BackupPC-$BACKUPPC_VERSION.tar.gz -L https://github.com/backuppc/backuppc/releases/download/$BACKUPPC_VERSION/BackupPC-$BACKUPPC_VERSION.tar.gz \ # Prepare backuppc home