simple pbcopy for macOS (#226)

This commit is contained in:
Mariusz Kogen
2022-12-19 02:36:59 +01:00
committed by GitHub
parent 8a2ed25146
commit b81a8f7894

View File

@@ -43,11 +43,19 @@ Registering an SSH Key
#. Click "Add New Key". #. Click "Add New Key".
#. Back in the terminal of your workstation, display and copy your SSH *public* key (created above): #. Back in the terminal of your workstation, display and copy your SSH *public* key (created above):
On Mac simply copy your key to clipboard with:
.. code-block:: bash
pbcopy < ~/.ssh/id_ed25519.pub
On Linux:
.. code-block:: bash .. code-block:: bash
cat ~/.ssh/id_ed25519.pub cat ~/.ssh/id_ed25519.pub
#. Copy the whole resulting line that looks similar to: Copy the whole resulting line that looks similar to:
.. code-block:: bash .. code-block:: bash