...
Code Block |
---|
language | bash |
---|
title | Open terminal on your machine |
---|
|
>local> ssh-keygen -t rsa -C "yourmailyour-mail-address" # -C is just a comment
Enter file in which to save the key (/Users/mercuron/.ssh/id_rsa): # use default
Enter passphrase (empty for no passphrase): # protect your private key
Enter same passphrase again: # protect your private key
...
Your public key has been saved in ~/.ssh/id_rsa.pub.
...
>local> scp ~/.ssh/id_rsa.pub username@ias-ssh.ias.u-psud.fr:~/.ssh/authorized_keys |
Code Block |
---|
language | bash |
---|
title | Now connect login to ias-ssh.ias.u-psud.fr |
---|
|
inf-ssh2>local> ssh username@ias-ssh.ias.u-psud.fr
inf-ssh2> ssh-keygen -t rsa -C "yourmailyour-mail-address" # -C is just a comment
# use default settings and no password
inf-ssh2> scp ~/.ssh/id_rsa.pub username@cluster-head:~/.ssh/authorized_keys
inf-ssh2> ssh username@cluster-head # to test the connection
cluster-head> exit
inf-ssh2> exit
>local> |
Code Block |
---|
language | bash |
---|
title | On your maschine |
---|
|
>local> nano .ssh/config # create this file to auto-forward yourself to cluster-head
#content of .ssh/config
Host flarecast-infra
ProxyCommand ssh username@ias-ssh.ias.u-psud.fr nc cluster-head.ias.u-psud.fr 22
User username
ForwardX11Trusted yes
ServerAliveInterval 60
# Ctrl-x y <return> to save and close
>
local> ssh flarecast-infra
# accept fingerprint
# enter FLARECAST cluster password
# you can ignore message: /usr/bin/xauth: file ~/.Xauthority does not exist
cluster-head> exit
>local>
|
From now on you can login to the cluster as follows
Code Block |
---|
language | bash |
---|
title | On your machine |
---|
|
local> ssh flarecast-infra
# enter FLARECAST cluster password
cluster-head> exit
local> |
Test installation
Note: Windows has not been tested yet
...