User Tools

Site Tools


infrastructure:guides:ssh-tunnel

Differences

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

Link to this comparison view

Next revision
Previous revision
infrastructure:guides:ssh-tunnel [07.06.2019 13:28]
Juha Kekäläinen created
infrastructure:guides:ssh-tunnel [29.10.2019 15:10] (current)
Line 1: Line 1:
-{{:bioinformatics:web_bioinformatics_center_logo.png|}} 
- 
 # Setting up SSH tunnel # Setting up SSH tunnel
  
 ## SSH tunneling with config-file ## SSH tunneling with config-file
  
-Easiest way for ssh-tunneling is to add something following to $HOME/.ssh/config+Easiest way for ssh-tunneling is to store tunneling configuration permanently into ssh client software configuration.  
 + 
 +On linux or mac you can add frequently used tunneling configuration to $HOME/.ssh/config
  
     Host solu.uef.fi     Host solu.uef.fi
-       ProxyCommand ssh uefad_id@codon.uef.fi nc %h %p+       ProxyCommand ssh username@codon.uef.fi nc %h %p
  
     Host gitlab.uef.fi     Host gitlab.uef.fi
-       ProxyCommand ssh uefad_id@intron.uef.fi nc %h %p+       ProxyCommand ssh username@intron.uef.fi nc %h %p
  
 Now it is easy to connect for example to solu.uef.fi server, eq **ssh username@intron.uef.fi**. Also scp and sftp works with this. Now it is easy to connect for example to solu.uef.fi server, eq **ssh username@intron.uef.fi**. Also scp and sftp works with this.
 +
 +The most GUI clients have option to do the configuration through more user-friendly graphical user interface.
  
 ## Another way for forwarding any port ## Another way for forwarding any port
infrastructure/guides/ssh-tunnel.1559903333.txt.gz · Last modified: 29.10.2019 15:10 (external edit)