Getting started video guide

Log in with ssh

# Connect to saga
$ ssh <username>@saga.sigma2.no
# If asked to verify that you are connecting to the correct system
: yes
# Enter password when prompted
: password
# You are now connected! To clear screan:
$ clear

# To log into another system:
$ ssh <username>@<system>.sigma2.no
# Fram:
$ ssh <username>@fram.sigma2.no

Note

Fingerprints can be checked in our documentation

Copy ssh key to saga

# Create key (-C and the comment can be obmitted)
$ ssh-keygen -t ed25519 -C comment_of_your_choosing
# Press enter until generation is done, accepting all the default options

# Copy key to saga on windows:
$ scp .ssh\id_ed25519.pub <username>@saga.sigma2.no:key.pub
# If you are using linux or mac:
$ scp .ssh/id_ed25519.pub <username>@saga.sigma2.no:key.pub

# SSH to saga
$ ssh <username>@saga.sigma2.no

# Create .ssh folder and set correct permissions
$ mkdir .ssh
$ chmod 2700 .ssh

# move key and set correct permissions
$ mv key.pub .ssh/authorized_keys
$ chmod 600 .ssh/authorized_keys

# You are now done! Verify by logging out and back in again
$ exit
$ ssh <username>@saga.sigma2.no

# If you did not get a prompt about password, then everything is set up correctly