Changes between Version 32 and Version 33 of User Guide/Remote Access/SSH


Ignore:
Timestamp:
Apr 2, 2026, 6:45:45 PM (3 days ago)
Author:
jennyshane
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • User Guide/Remote Access/SSH

    v32 v33  
    3838ssh-keygen -t rsa
    3939}}}
    40  You will be prompted for a location to save the keys, and a passphrase for the keys which we highly recommend using. This passphrase does not have to be the same as your COSMOS account password.
     40 You will be prompted for a location to save the keys, and a passphrase for the keys which we highly recommend using. This passphrase does not have to be the same as your COSMOS account password. If you generate the key with a passphrase, you will have to enter the passphrase before you can use the ssh key.
    4141{{{#!shell-session
    4242Generating public/private rsa key pair.
     
    5353[[BR]]
    5454==== Uploading your public key to your COSMOS account
    55  To upload you public key to your cosmos account, do the following:
    56  1. Go to [https://www.cosmos-lab.org/portal/ssh-keys Profile] and sign in with your COSMOS username and password
    57 
    58  2. Click on "Change My Profile" option in the left side menu
    59 
    60  3. Click the "Choose File" button next to "Public key file"
    61  
    62  4. Navigate to where your '''public key file''' is stored (typically /home/your_username/.ssh)
    63 
    64  5. Select the .pub file corresponding to the key you wish to use for COSMOS access
    65 
    66  6. Click "Open"
    67 
    68  7. Click the "Update Profile" button
     55 To upload your public key to your cosmos account, do the following:
     56 1. Go to the [https://www.cosmos-lab.org/portal/ portal] and sign in with your COSMOS username and password
     57
     58 2. Click on the dropdown menu next to your username in the upper right corner of the page and select "SSH Keys"
     59
     60 3. To retrieve your public key, open up a terminal, and enter
     61{{{
     62cat ~/.ssh/id_rsa.pub
     63}}}
     64
     65 4. Copy the output of that command (keep in mind that you need to hold down the shift key when you are copying and pasting in a terminal) and paste it into the text box under "Upload New Key", then click the upload button.
    6966
    7067 As a side note, expect to see a default auto generated public key in the list (ends with @internal1). This is used for SSH access between machines inside the COSMOS network. Please do NOT delete this key.
     
    149146
    150147 To upload you public key to your cosmos account, do the following:
    151  1. Go to [https://www.cosmos-lab.org/portal/ssh-keys Profile] and sign in with your COSMOS username and password
    152 
    153  2. Click on "Change My Profile" option in the left side menu
    154 
    155  3. Click the "Choose File" button next to "Public key file"
     148 1. Go to the [https://www.cosmos-lab.org/portal/ portal] and sign in with your COSMOS username and password
     149
     150 2. Click on the dropdown menu next to your username in the upper right corner of the page and select "SSH Keys"
     151
     152 3. To retrieve your public key, open up a terminal, and enter
    156153
    157154 4. Navigate to where your '''public key file''' is stored (in the previous example it would be something like C:\Users\local_user\.ssh\id_rsa.pub)