How to SSH into KULeuven computer labs

SSH’ing into the computers at KULeuven can be a real pain in the ass due to bad documentation. Here is a quick guide (for Linux or OS X).

  1. Request your keys (this can take up to 24 hours) at https://www2.cs.kuleuven.be/restricted/computerklas/
  2. Download them and put them in your ~/.ssh folder.
  3. Open a terminal in this folder and execute the following commands:
chmod 700 *
ssh-add id_rsa
ssh-add id_dsa

4. You can now SSH into the main server with (XXXXXX representing your student r-number)

ssh rXXXXXX@st.cs.kuleuven.be

5. From here you will have to SSH into a specific computer, like so:

ssh rXXXXXX@lier.cs.kotnet.kuleuven.be

Keep in mind lier is just an example, you can choose any valid computer name.

Credits to Mathias Dekempeneer.

Like what you read? Give Xander Deseyn a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.