marc:linux:ssh_advanced
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| marc:linux:ssh_advanced [2021/12/19 14:46] – marcv | marc: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, | ||
| + | The file needs to be created in ~/.ssh/ thus the full path is ~/ | ||
| + | < | ||
| + | Host myserver | ||
| + | Hostname 192.168.1.10 | ||
| + | Port 22 # The port you want to use | ||
| + | User marc # The username used to set up the connection | ||
| + | </ | ||
marc/linux/ssh_advanced.1639921597.txt.gz · Last modified: (external edit)
