How to access a VM from Windows PuTTY

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

How to create key pair in OpenStack Dashboard

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/011.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/021.png

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

../../../../_images/031.png

A prompt window informing you about succesful import will appear.

../../../../_images/041.png

Save your imported private key in the ppk format.

../../../../_images/051.png
../../../../_images/061.png

Open PuTTY Configuration tool and focus on the marked labels:

../../../../_images/071.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/081.png

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

../../../../_images/091.png
../../../../_images/101.png

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

Set Auto-login username: eouser.

../../../../_images/111.png

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

../../../../_images/121.png

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

../../../../_images/131.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/141.png

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

eouser@yourInstanceName:~$

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

../../../../_images/151.png

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