From d96666881d2ece3be7a6ea1c638f76fee4ee1af0 Mon Sep 17 00:00:00 2001 From: aiordache Date: Tue, 6 Oct 2020 19:52:49 +0200 Subject: fix ssh key path Signed-off-by: aiordache --- tests/Dockerfile-ssh-dind | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Dockerfile-ssh-dind b/tests/Dockerfile-ssh-dind index f5fb72f..c2894c3 100644 --- a/tests/Dockerfile-ssh-dind +++ b/tests/Dockerfile-ssh-dind @@ -12,7 +12,7 @@ RUN ssh-keygen -A # copy the test SSH config # Add the keys and set permissions RUN ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa -RUN cat /root/ssh/id_rsa.pub > /root/.ssh/authorized_keys +RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys RUN chmod 600 /root/.ssh/authorized_keys RUN echo "IgnoreUserKnownHosts yes" >> /etc/ssh/sshd_config && \ -- cgit v1.2.1