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
access [2018/10/24 11:53] lcardosoaccess [2018/10/24 11:57] (current) – [If you need to copy files from your PC to CorteXlab] 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] 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 (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 36: 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 22.+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 86: Line 86:
      
 <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>
      
Line 92: Line 92:
  **-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])  
  
Line 111: Line 111:
 Use ''scp'' but be aware that the port option for ''scp'' is ''-P'' (not ''-p'' as in ''ssh'') Use ''scp'' but be aware that the port option for ''scp'' is ''-P'' (not ''-p'' as in ''ssh'')
 <code> <code>
-you@yourpc:~$ scp -P 2269 [-i path/to/the/key] yourLocalFile username@gw.cortexlab.fr:distantFilePath+you@yourpc:~$ scp [-P PORT] [-i path/to/the/key] yourLocalFile username@gw.cortexlab.fr:distantFilePath
 </code> </code>
      
access.1540374829.txt.gz · Last modified: 2018/10/24 11:53 by lcardoso

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki