This shows you the differences between two versions of the page.
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: | ||
- | {{: | ||
- | |||
# 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 | + | 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 | ||
Host solu.uef.fi | Host solu.uef.fi | ||
- | | + | |
Host gitlab.uef.fi | Host gitlab.uef.fi | ||
- | | + | |
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 |