diff options
author | aiordache <anca.iordache@docker.com> | 2020-10-06 19:52:49 +0200 |
---|---|---|
committer | aiordache <anca.iordache@docker.com> | 2020-10-06 19:52:49 +0200 |
commit | d96666881d2ece3be7a6ea1c638f76fee4ee1af0 (patch) | |
tree | 6530a0ff2ec44c1dbe0c3e6da3b161fd118a3fb2 | |
parent | 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 (diff) | |
download | docker-py-replace_paramiko.tar.gz |
fix ssh key pathreplace_paramiko
Signed-off-by: aiordache <anca.iordache@docker.com>
-rw-r--r-- | tests/Dockerfile-ssh-dind | 2 |
1 files changed, 1 insertions, 1 deletions
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 && \ |