Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
doku:vpn_ssh_access [2021/09/29 09:21] – [Access to VSC] goldenbergdoku:vpn_ssh_access [2022/11/04 10:47] – [Forwarding the ssh-agent over multiple servers] goldenberg
Line 20: Line 20:
 === SSH Gateway === === SSH Gateway ===
  
-Users can connect first to any linux machine within a university and then connect further to VSC. Some universities provide a dedicated SSH gateway (contact your local IT services if you don't know how to connect)+Users can connect first to any linux machine within a university and then connect further to VSC. Some universities provide a dedicated SSH gateway (contact your local IT services if you don't know how to connect).
-  * TU Graz: [[https://sso.tugraz.at/idp/Authn/GenericAuthn|SSH gateway]]+
  
 ====== Using SSH keys and SSH agent to connect to VSC ====== ====== Using SSH keys and SSH agent to connect to VSC ======
Line 52: Line 51:
     * written to ''~/.ssh/config'' (see below).     * written to ''~/.ssh/config'' (see below).
  
-==== Connecting to VSC-or VSC-via ssh-key: ====+==== Connecting to VSC-or VSC-via ssh-key: ====
 <code> <code>
-ssh -p 27 <username>@vsc3.vsc.ac.at     # or  +ssh -p 27 <username>@vsc4.vsc.ac.at     # or  
-ssh -p 27 <username>@vsc4.vsc.ac.at+ssh -p 27 <username>@vsc5.vsc.ac.at
 </code> </code>
  
 === Forwarding the ssh-agent over multiple servers === === Forwarding the ssh-agent over multiple servers ===
-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-over the 'login.univie.ac.at' machine would look like this :+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-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>@vsc3.vsc.ac.at+user@host:~$ ssh -p27 -X -A -t <uni_username>@login.univie.ac.at ssh -p27 -X <vsc_username>@vsc4.vsc.ac.at
 </code> </code>
  
  • doku/vpn_ssh_access.txt
  • Last modified: 2024/05/02 09:54
  • by jz