Cloud Servers

Converting & Using OpenStack SSH Keypairs on Windows

Converting a key

With the native OpenSSH client on Linux you can use this pem-file directly. For Putty, you have to convert your key first, by completing the following steps:

1.    Start PuTTYgen (e.g., from the Start menu, click All Programs > PuTTY > PuTTYgen).
2.    Click Load.

3.    Browse to the location of the private key file that you want to convert (e.g. Voornaam.pem).

Note: By default, PuTTYgen displays only files with extension .ppk; you'll need to change that to display files of all types in order to see your .pem key file. The private key file must end with a newline character or PuTTYgen cannot load it correctly.

4.    Select your .pem key file and click Open.
5.    If everything goes well, PuTTYgen displays the following message:

6.    When you click OK, PuTTYgen displays a dialog box with information about the key you loaded, such as the public key and the fingerprint.
8.    Optional: Enter and confirm a key passphrase (If you use a passphrase, you will have to enter this passphrase whenever you authenticate with your key.)
9.    Click Save private key to save the key in PuTTY's format.

 10.    Save your private key somewhere secure. (For example in your personal home folder H:).

Using the key with Putty

Now we've prepared a key, started an instance and associated a floating IP. We can use the converted private key in Putty to connect to the instance over SSH by following these steps:

1.    Open Putty.
2.    Go in the tree on the left to Connection > SSH > Auth.
3.    Click on the ‘Browse...’ button under Private key file for authentication:

4.    Select the PPK-file (your private key) you just saved.
5.    Go in the tree on the left to ‘Session’.
6.    Enter in the ‘Host Name (or IP address)’ field the username and floating IP address of the instance:

7.    Optional: Enter a name for the session in the ‘Saved Sessions’ field and click save. This saves all the settings, including the private key for this session.
8.    Click Open to connect to the instance.
9.    When you connect for the first time, you’ll be asked if you trust this computer. Normally, you can click Yes.

10.    If you’re connecting to an instance with a floating IP that you've used before, you’ll get this warning message. If that’s the case, it’s safe to click Yes as well.

11.    If everything works alright, you’re now logged in.


Ask a question

"Hey couldn't find what you were looking for in our knowledgebase? Please enter your question here".

First Name *
Last Name *
Email Address *
Question *
Captcha *