Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:vpn_ssh_access [2021/09/29 09:23] – [Access to VSC] goldenberg | doku:vpn_ssh_access [2024/02/16 11:23] – Jump host (-J) instead of agent forwarding (-A) mpfister | ||
---|---|---|---|
Line 51: | Line 51: | ||
* written to '' | * written to '' | ||
- | ==== Connecting to VSC-3 or VSC-4 via ssh-key: ==== | + | ==== Connecting to VSC-4 or VSC-5 via ssh-key: ==== |
< | < | ||
- | ssh -p 27 < | + | ssh -p 27 < |
- | ssh -p 27 < | + | ssh -p 27 < |
</ | </ | ||
- | === Forwarding the ssh-agent over multiple servers | + | === Using a jump host === |
- | If the machine to which one wants to login is reachable only over one or several hops in between, the ssh-agent of the local machine can be forwarded to the machines in between using the '-A' | + | It is also possible to use SSH keys if the machine to which one wants to login is reachable only over one or several hops in between. To do this, use the command ''-J'' to specify |
< | < | ||
- | user@host: | + | user@host: |
</ | </ | ||
Line 68: | Line 68: | ||
< | < | ||
- | Host vsc3.vsc.ac.at | + | Host vsc4.vsc.ac.at |
Port 27 | Port 27 | ||
# ForwardAgent yes | # ForwardAgent yes |