Site Tools


marc:linux:ssh_advanced

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
marc:linux:ssh_advanced [2021/12/19 14:46] marcvmarc:linux:ssh_advanced [2022/04/16 09:47] (current) marcv
Line 76: Line 76:
  
  
 +===== 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.1639921597.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki