Connection to an Openstack VM
SSH connection
Once you have created your VM, it is reachable through the allo-psmn gateway, like any other compute node of the PSMN clusters (see documentation)
When you are connected to allo-psmn, you have to do ssh $LOGIN@172.16.43.XX (replace XX by the last digits of the floating IP address of your VM).
Replace $LOGIN by your PSMN login.
X2GO connexion
If you choose a desktop image, you can use X2GO client to connect to it (see X2go documentation)
Configure a new connection with the following items:
Important
On desktop images the upper-right logout button is inactive. To log out, you must open the main menu (upper-left) and click the logout icon
Tigervnc (alternative to X2Go)
In case you encounter issues with X2Go you can use Tigervnc.
Install TIgerVNC client
On Debian/Ubuntu:
sudo apt install tigervnc-viewerFor others Linux distros, Mac or Windows see https://sourceforge.net/projects/tigervnc/files/stable/1.16.0/
Create SSH tunnel
You need to establish a SSH tunnel in order to use Tigervnc. Use this command:
ssh -L 59000:172.16.43.XX:5901 $LOGIN@allo-psmn.psmn.ens-lyon.fr
(replace XX by the last digits of your floating IP and $LOGIN by your PSMN login).
Don’t exit the terminal.
Launch VNC server
Open another terminal
Connect to your VM with SSH
Launch
vncserver. You will be asked to set a password. This password will be used to connect to the VM with VNC. You will be asked to enter a view-only password, answer no.
Hint
This password will remain the same for all your *-psmn VMs
Connect to your VM
Launch your VNC client and enter
localhost:59000Enter your the password you defined earlier
Important
On desktop images the upper-right logout button is inactive. To log out, you must open the main menu (upper-left) and click the logout icon
Connect to Jupyter VMs
Once your VM is ready, open a terminal and type
ssh -L 8000:172.16.43.XX:8000 $LOGIN@allo-psmn.psmn.ens-lyon.fr
(replace XX by the last digits of your floating IP and $LOGIN by your PSMN login).
Don’t exit the terminal.
Then open your web browser and go to https://localhost:8000
Connect to RStudio VMs
Once your VM is ready, open a terminal and type
ssh -L 8787:172.16.43.XX:8787 $LOGIN@allo-psmn.psmn.ens-lyon.fr
(replace XX by the last digits of your floating IP and $LOGIN by your PSMN login).
Don’t exit the terminal.
Then open your web browser and go to http://localhost:8787