marc:linux:ssh_advanced
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| marc:linux:ssh_advanced [2021/12/19 13:54] – marcv | marc:linux:ssh_advanced [2022/04/16 09:47] (current) – marcv | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | --- // | ||
| + | |||
| ====== 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... | ||
| - | ===== sshd_config (server-side): ===== | + | |
| + | ===== 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.1639918459.txt.gz · Last modified: (external edit)
