Skip to content

Commit

Permalink
Merge pull request #6439 from dimagi/gh/update-docs
Browse files Browse the repository at this point in the history
Update docs for setting up server
  • Loading branch information
gherceg authored Nov 15, 2024
2 parents f031ad6 + 50c52a1 commit 359d2e4
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions docs/source/installation/2-manual-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,31 +180,6 @@ add them to the “sudo” user group. For example, if your username were
...
$ sudo usermod -a -G sudo jbloggs

Configure SSH
-------------

If you do not have an SSH key pair already, you will need to create one.
(Substitute “[email protected]” with your email address)

::

$ 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

::

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

You can now log in using your SSH key:

::

(jbloggs@jbloggs-pc) $ ssh control1

Install CommCare Cloud
----------------------
Expand Down Expand Up @@ -283,12 +258,6 @@ Install CommCare Cloud
9. Copy your **public** key to ``~/environments/_authorized_keys/``.
The filename must correspond to your username.

For example:

::

$ cp ~/.ssh/id_rsa.pub ~/environments/_authorized_keys/$(whoami).pub

10. Change “monolith.commcarehq.test” to your real domain name,

::
Expand Down

0 comments on commit 359d2e4

Please sign in to comment.