[IMP] odoo.sh: add setup and connection instructions for SSH

closes #589
This commit is contained in:
LSE 2020-03-10 13:13:38 +01:00 committed by GitHub
parent 954cbef948
commit b1cb9124c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 2 deletions

View File

@ -408,13 +408,39 @@ Uploads the changes you just added in the *master* branch on your remote reposit
SSH
---
Connect to your builds using ssh.
Setup
~~~~~
In order to use SSH, you have to set up your profile SSH public key (if it is not already done).
To do so, follow these steps:
#. `Generate a new SSH key
<https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key>`_
#. `Copy the SSH key to your clipboard
<https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account>`_
(only apply the step 1)
#. Paste the copied content to your profile SSH keys and press "Add"
.. image:: ./media/SSH-key-pasting.png
:align: center
#. The key should appear below
.. image:: ./media/SSH-key-appearing.png
:align: center
Connection
~~~~~~~~~~
To connect to your builds using ssh use the following command in a terminal:
.. code-block:: bash
$ ssh <build_id>@<domain>
You can configure your ssh keys in your profile settings in the top-right menu when clicking on your username.
You will find a shortcut for this command into the SSH tab in the upper right corner.
.. image:: ./media/SSH-panel.png
:align: center
Provided you have the :ref:`correct access rights <odoosh-gettingstarted-settings-collaborators>` on the project,
you'll be granted ssh access to the build.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB