From 76fe140baaa23ef2b05a45e060cc6e115b1721d7 Mon Sep 17 00:00:00 2001 From: Jakub Al-Khalili Date: Wed, 28 Aug 2019 14:10:06 +0200 Subject: [PATCH] Improve documentation - add notice about public key --- documentation/v0.2.0/getting-started.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/documentation/v0.2.0/getting-started.md b/documentation/v0.2.0/getting-started.md index f5e2cc20..37d4adfd 100644 --- a/documentation/v0.2.0/getting-started.md +++ b/documentation/v0.2.0/getting-started.md @@ -244,7 +244,19 @@ $ ssh-keygen -t rsa -b 2048 $ ssh-keygen -p -f -m pem ``` -Then copy content from generated file. +Then copy content from generated file. + +#### Public key + +If you want to upload your public key to your Git server you need to extract it. + +If key was generated by `openssl` then you need to type this to extract public key: + +```bash +$ openssl rsa -in -pubout > .pub +``` + +If key was generated by `ssh-keygen` the public key content is located in .pub and there is no need to extract public key #### Configure SSH authentication