From: Radoslaw Jablonski Date: Thu, 15 Nov 2018 09:43:31 +0000 (+0000) Subject: docker.userguide: Fix instruction for copying ssh keys X-Git-Tag: opnfv-8.1.0~9^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F65165%2F1;p=barometer.git docker.userguide: Fix instruction for copying ssh keys Previously 'ssh-copy-id' command tried to upload key from non-root user directory and next command was expecting that root key was copied (in that case ansible was unable to log into host machine) Change-Id: Iba25e6a8da0e5902883e5aa876f735e8f632d3b9 Signed-off-by: Radoslaw Jablonski --- diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst index 4947ec7e..c58405e4 100644 --- a/docs/release/userguide/docker.userguide.rst +++ b/docs/release/userguide/docker.userguide.rst @@ -259,7 +259,8 @@ The example is for localhost. .. code:: bash - $ sudo ssh-copy-id root@localhost + $ sudo -i + $ ssh-copy-id root@localhost Verify that key is added and password is not required to connect.