From b81a8f7894cb0af80e2d40ebd658195d70c8f285 Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Mon, 19 Dec 2022 02:36:59 +0100 Subject: [PATCH] simple pbcopy for macOS (#226) --- site/source/user-manual/ssh.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/site/source/user-manual/ssh.rst b/site/source/user-manual/ssh.rst index d51c362..182f314 100644 --- a/site/source/user-manual/ssh.rst +++ b/site/source/user-manual/ssh.rst @@ -43,15 +43,23 @@ Registering an SSH Key #. Click "Add New Key". #. 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 - cat ~/.ssh/id_ed25519.pub + pbcopy < ~/.ssh/id_ed25519.pub -#. Copy the whole resulting line that looks similar to: + On Linux: + + .. code-block:: bash - .. code-block:: bash + cat ~/.ssh/id_ed25519.pub - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINH3tqX71XsPlzYhhoo9CqAP2Yx7gsGTh43bQXr1zqoq user@ema.il + Copy the whole resulting line that looks similar to: + + .. code-block:: bash + + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINH3tqX71XsPlzYhhoo9CqAP2Yx7gsGTh43bQXr1zqoq user@ema.il #. Paste that line into the `Add New Key` text field of your Embassy