From f44592fe8d0d2eb85c50f66c2f966461a18c01e1 Mon Sep 17 00:00:00 2001 From: Anne Gentle Date: Sat, 30 Apr 2016 13:45:22 -0500 Subject: [PATCH] Windows SSH key for first contributors Change-Id: I6599ca30676d7dce8a0fb88686cf103f208dc214 --- .../source/quickstart/first-timers.rst | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/doc/contributor-guide/source/quickstart/first-timers.rst b/doc/contributor-guide/source/quickstart/first-timers.rst index 6e1d7f4441..04c345c8e2 100644 --- a/doc/contributor-guide/source/quickstart/first-timers.rst +++ b/doc/contributor-guide/source/quickstart/first-timers.rst @@ -118,13 +118,27 @@ Set up SSH #. View and copy your SSH key: + **Linux/Mac** + .. code-block:: console $ less ~/.ssh/id_rsa.pub -#. Add your SSH key by logging into gerrit and viewing - the `Settings > SSH Public Keys`_ page. + **Windows** + In Windows Explorer, browse to ``c:\Users\\.ssh\`` and open the + ``id_rsa.pub`` file in Notepad. Use Select All and then copy. + + .. note:: + + If you use Windows, our testing shows you must open the ``.pub`` file in + Notepad in order for gerrit to accept the key. + +#. Sign into gerrit at review.openstack.org. + +#. In the upper right, click your username. Click the `Settings > SSH Public + Keys`_ page. Click ``Add Key``. Paste the key in the ``Add SSH Public Key`` + web form and click ``Add``. Set up a repository -------------------