From 7d2bdfe67eb47e19ed6705df21792381236e3809 Mon Sep 17 00:00:00 2001 From: Damien Goujard Date: Sun, 22 Jun 2014 09:39:59 +0200 Subject: [PATCH] Update doc with more informations in ssh section --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c4eb37..9f90fe1 100644 --- a/README.md +++ b/README.md @@ -339,11 +339,11 @@ Instructions for logging in the container is the same as in section [Using the i #### Using your own key -Edit your Dockerfile to install an SSH key: +Edit your Dockerfile to install an SSH public key: ## Install an SSH of your choice. - ADD your_key /tmp/your_key - RUN cat /tmp/your_key >> /root/.ssh/authorized_keys && rm -f /tmp/your_key + ADD your_key.pub /tmp/your_key.pub + RUN cat /tmp/your_key.pub >> /root/.ssh/authorized_keys && rm -f /tmp/your_key.pub Then rebuild your image. Once you have that, start a container based on that image: