User Tools

Site Tools


tutorial:ssh-guide

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tutorial:ssh-guide [2020/07/17 09:16]
jonas.charfreitag
tutorial:ssh-guide [2020/07/22 14:35] (current)
jonas.charfreitag
Line 1: Line 1:
-===== Configuring your account =====  +[[tutorial:ssh|here]]
-Your Informatik ID gives you LDAP credentials needed to access the network. You can change your password, shell, and home directory from this portal https://​webportal.informatik.uni-bonn.de/​UserPortal/​user_center.shtml +
- +
-=====Connecting to a machine===== +
-All servers are only available from inside the cs network. Entering the university'​s internal network can be done using a proxy jump (through the zeus or hera machines mentioned later) or using the university'​s ​[[https://​gsg.bit.uni-bonn.de/​doku.php?​id=en:​vpn | VPN]] then using ssh to login to the desired machine. +
-In this guide we will be using an example of connecting to the coan-05 machine. +
- +
-**Requirements:​ ** +
- +
-Make sure you have an Informatik ID, and that you install an SSH tool for your operating system and you are able to log in to the university'​s network you can do so by following this guide https://​gsg.bit.uni-bonn.de/​doku.php?​id=en:​ssh.  +
- +
-Then ssh into coan-05 by running:  +
- +
-<​code>​ +
-ssh YOUR_INFORMATIK_ID@coan-05 +
-</​code>​ +
- +
- +
- +
-**Using config file and jump-hosts: (for Linux and Mac)** +
- +
-**for students**  +
- +
-  * Add the following to the ssh config file (''​~/​.ssh/​config''​) +
-<​code>​ +
-Host zeus +
-    User YOUR_INFROMATIK_ID +
-    HostName zeus.cs.uni-bonn.de +
- +
-Host coan-05 +
-    User YOUR_INFROMATIK_ID +
-    HostName coan-05.cs.uni-bonn.de +
-    ProxyJump zeus +
-</​code>​  +
- +
-**for university staff**  +
- +
-  * Add the following to the ssh config file (''​~/​.ssh/​config''​) +
-<​code>​ +
-Host hera +
-    User LDAP_ID +
-    HostName hera.cs.uni-bonn.de +
- +
-Host coan-05 +
-    User LDAP_ID +
-    HostName coan-05.cs.uni-bonn.de +
-    ProxyJump hera +
-</​code>​  +
-  * Also, something that can make the process more convenient (So that you don't have to enter the password every time you log in): +
-This requires that you have an ssh key, you can generate one following [[https://​docs.gitlab.com/​ee/​ssh/​README.html#​generating-a-new-ssh-key-pair|this]] guide. +
-<​code>​ +
-ssh-copy-id coan-05 +
-</​code>​ +
- +
- +
- +
- +
-The same result can be achieved using a VPN instead of a proxy jump. Only remove the ProxyJump entry in the shh config file. +
tutorial/ssh-guide.txt · Last modified: 2020/07/22 14:35 by jonas.charfreitag

Page Tools