You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Cloud_Setup/JPL_setup_instructions.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,26 +37,24 @@ JPL does not enable `ssh` access to AWS instances by default, instead preferring
37
37
-*Initial set up and download GitHub repository*: Copy the following commands and paste in your SSM window (using shift-insert or right-click then **Paste**):
-*Enable ssh access*: There is a script in the GitHub repository to enable ssh access `sshd_enable.sh`. You want to run it as the *root* user, otherwise you will not have the necessary permissions. Again, copy and paste the following in your SSM window:
The script will ask if you want to move the git repo and change its ownership. Answer **Y** and enter **jpluser** for user name.
52
+
The script will ask if you want to generate new SSH keys, answer **Y**. Then it will ask if you want to move the git repo and change its ownership. Answer **Y** and enter **jpluser** for user name.
55
53
56
54
Once the script is completed, you should be able to ssh into your new instance. You can **Terminate** the SSM window. Then from your machine's terminal window, connect to the instance's *private* IPv4 address (given on the AWS instance summary page) with user name **jpluser**. For example, if the key file is `~/.ssh/aws_ec2_jupyter.pem` and the private IPv4 address is 100.104.70.37, then:
The `-L` option indicates a tunnel from the local machine's port 9889 to the instance's port 9889; this will be used later to open Jupyterlab through your local machine's web browser.
@@ -80,7 +78,7 @@ Now you need to install software (conda/miniconda/miniforge) to run Python, and
80
78
To run `jupyter_env_setup.sh`, copy, paste, and execute the following two commands on the instance:
The script takes several minutes to run, but it should set up our environment with the packages we need. Now you can return to Step 4 of the [AWS Cloud: getting started](https://ecco-v4-python-tutorial.readthedocs.io/AWS_Cloud_getting_started.html) tutorial.
0 commit comments