From 4725a40462bf78fcc65005fe8f2c30cfc34e4bf0 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Fri, 5 Dec 2014 20:08:23 +0000 Subject: [PATCH 1/2] Changing the windows installation doc to include instructions how to login using putty instead of CMD Signed-off-by: Krasimir Georgiev Docker-DCO-1.1-Signed-off-by: Krasimir Georgiev (github: SvenDowideit) Upstream-commit: 948f33263e95997a9c6596d695c92ab03c630899 Component: engine --- components/engine/docs/sources/installation/windows.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/engine/docs/sources/installation/windows.md b/components/engine/docs/sources/installation/windows.md index 667ce2935d..04f1d28d1e 100644 --- a/components/engine/docs/sources/installation/windows.md +++ b/components/engine/docs/sources/installation/windows.md @@ -57,6 +57,14 @@ Let's try the `hello-world` example image. Run This should download the very small `hello-world` image and print a `Hello from Docker.` message. +# Login with PUTTY instead of using the CMD + +boot2docker generates and uses the public/private key pair in your %HOMEPATH%\.ssh directory so to login you need to use the private key from this same directory. + +The private key needs to be converted into a format that putty can use so for this purpose you can use puttygen +Open puttygen.exe and load the private key from %HOMEPATH%\.ssh\id_boot2docker (File->Load) , +then simply click : Save Private Key. +You can use the saved file to login with putty using docker@127.0.0.1:2022 # Further Details From 892e46c3648bb836ab3af8190b35027d74f1506b Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Fri, 19 Dec 2014 16:43:34 +1000 Subject: [PATCH 2/2] fixes as requested Docker-DCO-1.1-Signed-off-by: Sven Dowideit (github: SvenDowideit) Upstream-commit: db165f7d2c3e05bbd7bac8c1188145370c7b1171 Component: engine --- .../docs/sources/installation/windows.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/components/engine/docs/sources/installation/windows.md b/components/engine/docs/sources/installation/windows.md index 04f1d28d1e..90268867bc 100644 --- a/components/engine/docs/sources/installation/windows.md +++ b/components/engine/docs/sources/installation/windows.md @@ -57,14 +57,20 @@ Let's try the `hello-world` example image. Run This should download the very small `hello-world` image and print a `Hello from Docker.` message. -# Login with PUTTY instead of using the CMD +## Login with PUTTY instead of using the CMD -boot2docker generates and uses the public/private key pair in your %HOMEPATH%\.ssh directory so to login you need to use the private key from this same directory. +Boot2Docker generates and uses the public/private key pair in your `%HOMEPATH%\.ssh` +directory so to log in you need to use the private key from this same directory. -The private key needs to be converted into a format that putty can use so for this purpose you can use puttygen -Open puttygen.exe and load the private key from %HOMEPATH%\.ssh\id_boot2docker (File->Load) , -then simply click : Save Private Key. -You can use the saved file to login with putty using docker@127.0.0.1:2022 +The private key needs to be converted into the format PuTTY uses. + +You can do this with +[puttygen](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html): + +- Open `puttygen.exe` and load ("File"->"Load" menu) the private key from + `%HOMEPATH%\.ssh\id_boot2docker` +- then click: "Save Private Key". +- Then use the saved file to login with PuTTY using `docker@127.0.0.1:2022`. # Further Details