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 [2022/11/04 10:47] – [Parameters in .ssh/config] goldenberg | doku:vpn_ssh_access [2024/02/16 11:26] – Update TU Wien links mpfister |
---|
=== VPN services === | === VPN services === |
* University of Vienna: [[http://zid.univie.ac.at/en/vpn|English]] [[http://zid.univie.ac.at/vpn/|German]] | * University of Vienna: [[http://zid.univie.ac.at/en/vpn|English]] [[http://zid.univie.ac.at/vpn/|German]] |
* TU Vienna: [[https://www.it.tuwien.ac.at/en/services/network-infrastructure-and-server-services/tunet/vpn-virtual-private-network/vpn-access|English]] [[https://www.it.tuwien.ac.at/services/netzwerkinfrastruktur-und-serverdienste/tunet/vpn-virtual-private-network/vpn-zugang|German]] | * TU Vienna: [[https://www.it.tuwien.ac.at/en/services/network-and-servers/tuvpn|English]] [[https://www.it.tuwien.ac.at/services/netzwerk-und-server/tuvpn|German]] |
* University of Innsbruck: [[http://www.uibk.ac.at/zid/netz-komm/vpn/|German]] | * University of Innsbruck: [[http://www.uibk.ac.at/zid/netz-komm/vpn/|German]] |
* University of Graz: [[https://it.uni-graz.at/de/services/zugang-zum-uninetz/vpn/|German]] | * University of Graz: [[https://it.uni-graz.at/de/services/zugang-zum-uninetz/vpn/|German]] |
</code> | </code> |
| |
=== 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' option of the 'ssh' command. Prerequisite is that on all remote hosts the public key has been added to the 'authorized_keys' file as described above. For example, a connection to VSC-4 over the 'login.univie.ac.at' machine would look like this : | 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 the jump host. Prerequisite is that on all remote hosts the public key has been added to the ''authorized_keys'' file as described above. For example, a connection to VSC-5 over the ''login.univie.ac.at'' machine would look like this : |
<code> | <code> |
user@host:~$ ssh -p27 -X -A -t <uni_username>@login.univie.ac.at ssh -p27 -X <vsc_username>@vsc4.vsc.ac.at | user@host:~$ ssh -p27 -X -t -J <uni_username>@login.univie.ac.at <vsc_username>@vsc5.vsc.ac.at |
</code> | </code> |
| |