How to access a VM from Windows PuTTY on EO-Lab

The link below shows how to generate and add rsa key pairs:

How to connect to a virtual machine via SSH from Windows 10 Command Prompt on EO-Lab

In this tutorial key.pem is equivalent to the id_rsa file that we obtain in a zip package after the key generation process.

To connect via PuTTY, copy your Virtual Machine floating IP address and save it somewhere.

../_images/01.png

Open PuTTYGen to converse the private key file to ppk format. (This format is being ussed by the PuTTY client). Click on the “Load” button.

../_images/02.png

Choose the key file. Make sure that you have set the visibility to “All files”.

../_images/03.png

A prompt window informing you about succesful import will appear.

../_images/04.png

Save your imported private key in the ppk format.

../_images/05.png
../_images/06.png

Open PuTTY Configuration tool and focus on the marked labels:

../_images/07.png

Description:

  1. Host Name( or IP address) → Write down the floating IP address that you may find in the Horizon Panel

  2. Port → Assign a SSH service port, by default it is set up on 22

  3. Connection type → Check SSH

Configuration has been set up. Enroll the SSH branch.

../_images/08.png

Enroll the Auth branch and provide a private key file by clicking “Browse”, selecting your key and clicking “Open”.

../_images/09.png
../_images/10.png

(Optionally) Expand the “Connection” list and click on the “Data”.

Set Auto-login username: eouser.

../_images/11.png

For your comfort you can save the session for future use by naming it and saving changes.

../_images/12.png

Choose the proper session and click on the “Open” button to commence the ssh session:

../_images/13.png

If you are connecting to your VM via PuTTY for the first time, we recommend that you save the rsa key fingerprint by choosing Yes (Tak) for future connections from your computer.

../_images/14.png

If you logged in correctly you should see the following at the bottom of the screen:

You are now correctly logged into your VM via SSH from another host.

../_images/15.png

If you would like to learn more about PuTTYgen and its installation and usage, we invite you to visit the website https://www.puttygen.com.