Changes between Version 16 and Version 17 of User Guide/Remote Access/SSH
- Timestamp:
- May 11, 2020, 4:46:14 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
User Guide/Remote Access/SSH
v16 v17 27 27 28 28 These 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 30 30 sudo apt-get update 31 31 sudo apt-get install openssh-client … … 36 36 37 37 To create your public and private SSH keys, open a command-line terminal and type: 38 {{{ 38 {{{#!shell 39 39 ssh-keygen -t rsa 40 40 }}} 41 41 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 43 43 Generating public/private rsa key pair. 44 44 Enter file in which to save the key (...): … … 55 55 ===== Uploading your public key to your COSMOS account 56 56 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 password57 1. Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys Profile] and sign in with your COSMOS username and password 58 58 59 59 2. Click on "Change My Profile" option in the left side menu … … 77 77 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. 78 78 To test your setup, open a command-line terminal and (replacing ''your_cosmos_username'' with your own COSMOS username) type: 79 {{{ 79 {{{#!shell-session 80 80 ssh your_cosmos_username@gw.orbit-lab.org 81 81 }}} … … 87 87 ===== Common issues and how to solve them 88 88 * If you receive a message like the following: 89 {{{ 89 {{{#!shell-session 90 90 The authenticity of host 'gw.orbit-lab.org (128.6.192.134)' can't be established. 91 91 ECDSA key fingerprint is SHA256:iLKtq2Z8wB3ADJdEyM1CwoU85gOeqIUyB4GOJ2YloQg. … … 95 95 [[BR]] 96 96 * If you receive a message like the following: 97 {{{ 97 {{{#!shell-session 98 98 Permission denied (publickey). 99 99 }}} 100 100 Try connecting again but manually specifying the location where your private SSH key is stored as in the following example: 101 {{{ 101 {{{#!shell-session 102 102 ssh -i /path_to_where_key_is_stored/private_ssh_key_name your_cosmos_username@gw.orbit-lab.org 103 103 }}} … … 150 150 151 151 To upload you public key to your cosmos account, do the following: 152 1. Go to [https://w ww.cosmos-lab.org/cPanel/controlPanel/start] and sign in with your COSMOS username and password152 1. Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys Profile] and sign in with your COSMOS username and password 153 153 154 154 2. Click on "Change My Profile" option in the left side menu … … 234 234 235 235 Follow 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 237 237 your_username@Macintrash ~ % ssh-keygen -t rsa -C mac 238 238 Generating public/private rsa key pair. … … 262 262 ===== Uploading your public key to you COSMOS account 263 263 To upload you public key to your cosmos account, do the following: 264 1. Go to [https://w ww.cosmos-lab.org/cPanel/controlPanel/start] and sign in with your COSMOS username and password264 1. Go to [https://wiki.cosmos-lab.org/cPanel/accountManagement/adminAuthKeys Profile] and sign in with your COSMOS username and password 265 265 266 266 2. Click on "Change My Profile" option in the left side menu