Site Tools


marc:linux:ssh_advanced

Differences

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

Link to this comparison view

Next revision
Previous revision
marc:linux:ssh_advanced [2021/12/19 13:52] – created marcvmarc:linux:ssh_advanced [2022/04/16 09:47] (current) marcv
Line 1: Line 1:
 + --- //[[mcamav@gmail.com|Marc Verhaar]] 2021/12/19 13:46//FIXME
 +
 ====== SSH tunneling: ====== ====== SSH tunneling: ======
  
Line 16: Line 18:
  
 ===== Remote portforwarding: ===== ===== Remote portforwarding: =====
 +FIXME
  
 ===== Dynamic portforwarding with SOCKS proxy: ===== ===== Dynamic portforwarding with SOCKS proxy: =====
Line 72: Line 75:
 FIXME: using ssh config file for jumphosts... FIXME: using ssh config file for jumphosts...
  
 +
 +===== Example config file: =====
 +We can create a configuration file for the ssh client which is used to define hosts, usernames, portnumbers, etc.
 +
 +The file needs to be created in ~/.ssh/ thus the full path is ~/.ssh/config.
 +<code>
 +Host myserver                                      # The name you want to use to connect
 +  Hostname 192.168.1.10                            # The IP address the hostname needs to be translated to
 +  Port 22                                          # The port you want to use
 +  User marc                                        # The username used to set up the connection
 + </code>
  
marc/linux/ssh_advanced.1639918375.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki