> ## Documentation Index
> Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Convert an SSH key to PPK format

If you generated your SSH keys via PuTTYgen or in the Gcore Customer Portal and want to use PuTTY to connect to a Gcore Virtual Machine, you need to convert the keys to a .ppk format.

To do this, you can use PuTTYgen:

1\. Make sure that [PuTTY](https://putty.org) is installed on your device.

2\. Launch the PuTTYgen app.

3\. Click **Load**. Then, find the file with the key that you want to convert.

<Frame>
  <img src="https://mintcdn.com/gcore/YEsPf7l6EvNuxMEL/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-ssh/puttygen-load-key.png?fit=max&auto=format&n=YEsPf7l6EvNuxMEL&q=85&s=52b846e4bdf0eefa7f4bc9d80c0c7097" alt="Puttygen app with the Load button highlighted" width="2396" height="1856" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-ssh/puttygen-load-key.png" />
</Frame>

<Info>
  **Info**

  By default, Windows will display only .ppk files. To view all file types, click **All files** in the "Open file" dialog.
</Info>

4\. PuTTYgen will prompt you to confirm that you want to import the key. Click **OK**.

<Frame>
  <img src="https://mintcdn.com/gcore/YEsPf7l6EvNuxMEL/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-ssh/puttygen-convert-key.png?fit=max&auto=format&n=YEsPf7l6EvNuxMEL&q=85&s=392b860c89c6f51000814576794057a7" alt="Puttygen confirmation that the key has been imported" width="2396" height="1856" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-ssh/puttygen-convert-key.png" />
</Frame>

5\. Select a converted key by clicking either **Save private key** or **Save public key**.

<Frame>
  <img src="https://mintcdn.com/gcore/YEsPf7l6EvNuxMEL/images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-ssh/puttygen-save-keys.png?fit=max&auto=format&n=YEsPf7l6EvNuxMEL&q=85&s=12f99d50a570449811ceb443390dad79" alt="Puttygen app with the Save public key and Save private key buttons highlighted" width="2396" height="1856" data-path="images/docs/cloud/virtual-instances/connect/connect-to-your-instance-via-ssh/puttygen-save-keys.png" />
</Frame>

6\. Save the key on your device for future use.
