> ## 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

SSH keys generated in the Gcore Customer Portal are in OpenSSH format and must be converted to `.ppk` format before using PuTTY to connect to a Gcore Virtual Machine. PuTTYgen handles the conversion.

<Steps>
  <Step title="Install PuTTY">
    Download and install [PuTTY](https://putty.org) if it's not already installed. PuTTYgen is bundled with the PuTTY package.
  </Step>

  <Step title="Launch PuTTYgen">
    Open the PuTTYgen application.
  </Step>

  <Step title="Load the key file">
    Click **Load** and select the key file to convert.

    <Info>
      Windows displays only `.ppk` files by default. To view all file types, select **All files** in the Open file dialog.
    </Info>

    <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>
  </Step>

  <Step title="Confirm the import">
    When prompted to confirm the import, 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>
  </Step>

  <Step title="Save the converted key">
    Click **Save private key** or **Save public key** to save the converted key to a file.

    <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>
  </Step>
</Steps>
