Changes between Version 16 and Version 17 of User Guide/Remote Access/SSH


Ignore:
Timestamp:
May 11, 2020, 4:46:14 AM (4 years ago)
Author:
msherman
Comment:

Legend:

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

    v16 v17  
    2727
    2828These instructions assume you will be using a standard command-line SSH client for linux. If you have not already done so, ensure that you have it installed by running the following commands in a command-line terminal:
    29 {{{
     29{{{#!shell
    3030sudo apt-get update
    3131sudo apt-get install openssh-client
     
    3636
    3737 To create your public and private SSH keys, open a command-line terminal and type:
    38 {{{
     38{{{#!shell
    3939ssh-keygen -t rsa
    4040}}}
    4141 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.
    42 {{{
     42{{{#!shell-session
    4343Generating public/private rsa key pair.
    4444Enter file in which to save the key (...):
     
    5555===== Uploading your public key to your COSMOS account
    5656 To upload you public key to your cosmos account, do the following:
    57  1. Click [[Image(wiki_profile.png)]]] or Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys] and sign in with your COSMOS username and password
     57 1. Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys Profile] and sign in with your COSMOS username and password
    5858
    5959 2. Click on "Change My Profile" option in the left side menu
     
    7777  Under normal circumstances, as long as the private key file is located in the /home/your_username/.ssh/ folder, the command line SSH client will use the correct key when connecting.
    7878 To test your setup, open a command-line terminal and (replacing ''your_cosmos_username'' with your own COSMOS username) type:
    79 {{{
     79{{{#!shell-session
    8080ssh your_cosmos_username@gw.orbit-lab.org
    8181}}}
     
    8787===== Common issues and how to solve them
    8888 * If you receive a message like the following:
    89 {{{
     89{{{#!shell-session
    9090The authenticity of host 'gw.orbit-lab.org (128.6.192.134)' can't be established.
    9191ECDSA key fingerprint is SHA256:iLKtq2Z8wB3ADJdEyM1CwoU85gOeqIUyB4GOJ2YloQg.
     
    9595[[BR]]
    9696 * If you receive a message like the following:
    97 {{{
     97{{{#!shell-session
    9898Permission denied (publickey).
    9999}}}
    100100 Try connecting again but manually specifying the location where your private SSH key is stored as in the following example:
    101 {{{
     101{{{#!shell-session
    102102ssh -i /path_to_where_key_is_stored/private_ssh_key_name your_cosmos_username@gw.orbit-lab.org
    103103}}}
     
    150150
    151151 To upload you public key to your cosmos account, do the following:
    152  1. Go to [https://www.cosmos-lab.org/cPanel/controlPanel/start] and sign in with your COSMOS username and password
     152 1. Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys Profile] and sign in with your COSMOS username and password
    153153
    154154 2. Click on "Change My Profile" option in the left side menu
     
    234234
    235235Follow the prompt to save the keys in the default location, use a passphrase for additional security. Once your keys are saved successfully, a 'randomart' will be generated.
    236 {{{
     236{{{#!shell-session
    237237your_username@Macintrash ~ % ssh-keygen -t rsa -C mac
    238238Generating public/private rsa key pair.
     
    262262===== Uploading your public key to you COSMOS account
    263263 To upload you public key to your cosmos account, do the following:
    264  1. Go to [https://www.cosmos-lab.org/cPanel/controlPanel/start] and sign in with your COSMOS username and password
     264 1. Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys Profile] and sign in with your COSMOS username and password
    265265
    266266 2. Click on "Change My Profile" option in the left side menu