---
title: How Do I Generate an SSH Key?
url: https://docs.vultr.com/support/products/orchestration/ssh-keys/how-do-i-generate-an-ssh-key
description: Create an SSH key pair, share the public key with Vultr, and keep the private key on your local machine.
publish_date: 2025-09-14T04:03:57.194641Z
last_updated: 2026-10-26T23:36:58.329528Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt


To connect to your Vultr instances securely, you need to generate an SSH key pair. A **public key** that you share with Vultr, and a **private key** that remains securely stored on your local machine.

SSH keys eliminate the need for password-based logins and reduce the risk of brute-force attacks. Depending on your operating system:

* On **Linux or macOS**, you can use the `ssh-keygen` utility.
* On **Windows**, tools like [PuTTYgen](https://puttygen.com/) are commonly used.

For step-by-step instructions and best practices, refer to the [How to Generate SSH Keys](https://docs.vultr.com/how-do-i-generate-ssh-keys) guide.