Skip to content

Commit

Permalink
Don't suggest copying private key to server
Browse files Browse the repository at this point in the history
  • Loading branch information
gherceg committed Nov 15, 2024
1 parent f031ad6 commit 937a200
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/source/installation/2-manual-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,14 @@ If you do not have an SSH key pair already, you will need to create one.

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"

**Cluster only:** Copy an SSH key pair for your user to the control
machine. For example, if the key pair you want to copy is
``~/.ssh/id_rsa`` and ``~/.ssh/id_rsa.pub``, then the commands to copy
the SSH key pair would be
Copy your user's SSH public key to the control
machine. For example, if the public key you want to copy is
``~/.ssh/id_rsa.pub``, then you would run the following:

::

$ ssh-copy-id -i ~/.ssh/id_rsa.pub jbloggs@control1
$ scp ~/.ssh/id_rsa{,.pub} control1:.ssh/
$ scp ~/.ssh/id_rsa.pub control1:.ssh/

You can now log in using your SSH key:

Expand Down

0 comments on commit 937a200

Please sign in to comment.