Preparing your access to CL's GPU servers

In order to access the GPU servers, you need to be cleared for access - here's how to request clearance if you're a student or if you're a member of the CL staff, and use an SSh key pair and to make the public key available on the networked storage. Here you will find instructions for the latter part.

The most straightforward way to create and use a key pair this is through a POSIX-compatible terminal.

Creating the key pair and injecting the public key

On Mac OS:

Cmd+space to open Spotlight Search, type "terminal" in the box and press "enter". In the terminal, type the following: ssh-keygen -t ed25519 -f ~/.ssh/id_cl_ed25519 Follow the instructions on screen, and once the key pair is saved, run: ssh-copy-id -i ~/.ssh/id_cl_ed25519 <your_shortname>@keysquid.d.uzh.ch

On Linux:

On most desktop environments, Ctrl+Alt+t will open the terminal. Then type the following in your shell: ssh-keygen -t ed25519 -f ~/.ssh/id_cl_ed25519 Follow the instructions on screen, and once the key pair is saved, run: ssh-copy-id -i ~/.ssh/id_cl_ed25519 <your_shortname>@keysquid.d.uzh.ch

On Windows:

You can use WSL, in which case the instructions are the same as for Linux: ssh-keygen -t ed25519 -f ~/.ssh/id_cl_ed25519 Follow the instructions on screen, and once the key pair is saved, run: ssh -i ~/.ssh/id_cl_ed25519 <your_shortname>@keysquid.d.uzh.ch In case you don't want to use WSL, you can open PowerShell, then: ssh-keygen -t ed25519 -f C:\User\[YourUserName]\.ssh ssh-copy-id -i C:\User\[YourUserName]\.ssh\id_cl_ed25519 <your_shortname>@keysquid.d.uzh.ch If you have installed PuTTY, you can use the tool "PuTTYgen". Follow the official instructions on SSh.com

Using the public key to access a GPU server

If you have requested access to Habra, and you got confirmation that the access is granted, after creating and copying the key remotely, you can use the specific key to access this server by running the command:

ssh -i ~/.ssh/id_cl_ed25519 <your_shortname>@habra.cl.uzh.ch (Mac OS, Linux, WSL) ssh -i C:\User\[YourUserName]\.ssh <your_shortname>@habra.cl.uzh.ch (Windows)