Changes between Version 7 and Version 8 of User Guide/Remote Access/SSH


Ignore:
Timestamp:
Nov 15, 2019, 3:26:26 PM (5 years ago)
Author:
nilanjan
Comment:

Legend:

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

    v7 v8  
    212212
    213213[[CollapsibleStart(Mac)]]
    214  '''Mac instrucstions are currently under development. We apologize for the inconvenience.'''
     214
     215Mac OS has a native command line ssh client that can be used to remotely log into consoles. From the Finder select Applications -> Utilities -> Terminal to open a command line terminal.
    215216
    216217==== Generating keys ====
    217  TODO
     218Generate the public and private keys using the following command
     219{{{
     220ssh-keygen -t rsa
     221}}}
     222
     223Follow 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.
     224{{{
     225your_username@Macintrash ~ % ssh-keygen -t rsa -C mac
     226Generating public/private rsa key pair.
     227Enter file in which to save the key (/Users/your_username/.ssh/id_rsa):
     228Created directory '/Users/your_username/.ssh'.
     229Enter passphrase (empty for no passphrase):
     230Enter same passphrase again:
     231Your identification has been saved in /Users/your_username/.ssh/id_rsa.
     232Your public key has been saved in /Users/your_username/.ssh/id_rsa.pub.
     233The key fingerprint is:
     234SHA256:sclFUKMVPUAUBEk+Qa3MZhLv3qfo/BWY+B5huCajS5U mac
     235The key's randomart image is:
     236+---[RSA 2048]----+
     237|       o*X%=     |
     238|      ...=..o    |
     239|       ==..  .   |
     240|      .oBO o     |
     241|      E=S = .    |
     242|     .  .+ . .   |
     243|    . o.o.o .    |
     244|   . . =.o.o.    |
     245|    o. .+.+o     |
     246+----[SHA256]-----+
     247}}}
    218248
    219249[[BR]]
     
    226256 3. Click the "Choose File" button next to "Public key file"
    227257 
    228  4. Navigate to where your '''public key file''' is stored (typically /home/your_username/.ssh)
     258 4. Navigate to where your '''public key file''' is stored (typically /Users/your_username/.ssh)
    229259
    230260 5. Select the .pub file corresponding to the key you wish to use for COSMOS access
     
    240270[[BR]]
    241271==== Configuring your SSH client ====
    242  TODO
     272 Under normal circumstances, as long as the private key file is located in the /Users/your_username/.ssh/ folder, the command line SSH client will use the correct key when connecting.
     273
     274 To test your setup, open a command-line terminal and (replacing ''your_orbit_username'' with your own ORBIT username) type:
     275{{{
     276ssh your_orbit_username@gw.orbit-lab.org
     277}}}
     278 You should be prompted to enter your key file passphrase and be able to successfully connect.
     279
     280 Type {{{exit}}} and press the Enter key to end the SSH session.
     281
    243282
    244283[[BR]]