User Tools

Site Tools


access

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
access [2016/12/12 10:37] – [Step 6: Save your Putty config] onicolasaccess [2018/10/24 11:56] – [Step 1: Connect to the host] lcardoso
Line 15: Line 15:
 On a Linux/Unix host, the SSH connection to the airlock can be done with the command:   On a Linux/Unix host, the SSH connection to the airlock can be done with the command:  
 <code> <code>
-you@yourpc:~$ ssh -X -v [-i path/to/the/key] -p 2269 username@gw.cortexlab.fr+you@yourpc:~$ ssh -X -v [-i path/to/the/key] [-p PORT] username@gw.cortexlab.fr
 </code> </code>
      
 Options:   Options:  
  **-X** is used for X forwarding (do not forget to execute xhost+ on your own machine)    **-X** is used for X forwarding (do not forget to execute xhost+ on your own machine)  
- **-v** is used for verbose mode   + **-v** is used for verbose mode 
- **-p** is used to specify the port through which the SSH connection is opened  + **-p** is used to specify the port through which the SSH connection is opened (22 or 2269) 
  **-i** is used to specify the path to the RSA key if it is not the default one (~/.ssh/id_rsa[.pub])    **-i** is used to specify the path to the RSA key if it is not the default one (~/.ssh/id_rsa[.pub])  
- 
 ==== Step 2: Profit ==== ==== Step 2: Profit ====
  
Line 37: Line 36:
 ==== Step 1: Set the Host ==== ==== Step 1: Set the Host ====
  
-Choose SSH as the communication protocol and set the host name of the server you want to reach, in this case the airlock ''gw.cortexlab.fr'', on port 2269.+Choose SSH as the communication protocol and set the host name of the server you want to reach, in this case the airlock ''gw.cortexlab.fr'', on port 22 or 2269 (as pictured bellow).
  
 {{ :win_ssh_putty1bis.png?nolink |}} {{ :win_ssh_putty1bis.png?nolink |}}
Line 83: Line 82:
  
 ===== Connecting using MacOS ===== ===== Connecting using MacOS =====
-To be done.+ 
 +The MacOS procedure for connecting is very similar to the Linux/Unix one, the SSH connection to the airlock can be done with the command: 
 +   
 +<code> 
 +you@yourpc:~$ ssh -X -v [-i path/to/the/key] [-p PORT] username@gw.cortexlab.fr 
 +</code> 
 +   
 +Options:   
 + **-X** is used for X forwarding (do not forget to execute xhost+ on your own machine)   
 + **-v** is used for verbose mode   
 + **-p** is used to specify the port through which the SSH connection is opened (22 or 2269)  
 + **-i** is used to specify the path to the RSA key if it is not the default one (~/.ssh/id_rsa[.pub])   
 + 
 +==== Step 2: Enjoy ==== 
 + 
 +That's about it.
  
 ====== Once connected ====== ====== Once connected ======
Line 100: Line 114:
 </code> </code>
      
- 
access.txt · Last modified: 2018/10/24 11:57 by lcardoso

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki