This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssh:tipsandtricks [2024/09/27 08:16] – [Example 3] jansen | ssh:tipsandtricks [2025/05/20 08:25] (current) – [Example 3] jansen | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ==== Example 1 ==== | ==== Example 1 ==== | ||
| - | Establish an SSH connection to a machine called < | + | Establish an SSH connection to a machine called < |
| <code bash> | <code bash> | ||
| - | ssh -o ProxyCommand=" | + | ssh -o ProxyCommand=" |
| </ | </ | ||
| Line 49: | Line 49: | ||
| ssh -o ProxyJump=" | ssh -o ProxyJump=" | ||
| </ | </ | ||
| + | or if your ssh client has the '' | ||
| + | <code bash> | ||
| + | ssh -J username@ssh.strw.leidenuniv.nl username@SERVER.strw.leidenuniv.nl | ||
| + | </ | ||
| + | |||
| And in the '' | And in the '' | ||