---
title: Connect to a Server Using an SSH Key
url: https://docs.vultr.com/connect-to-a-server-using-an-ssh-key
description: Learn how to securely connect to a remote server using SSH keys instead of passwords. Follow our step-by-step guide for improved security and convenience.
publish_date: 2020-09-09T00:00:00Z
last_updated: 2026-04-15T00:00:00.077250Z
header_image: https://assets.vultrdevrel.com/docs-main-doc-assets-1/789/df21bb4ab153d053.png
---

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

This Quickstart Guide describes how to connect to Vultr servers over SSH with a key instead of a password.

## Prerequisites

You will need:

* A Linux, Mac, or Windows workstation
* A Linux or BSD server instance
* An SSH key

Before connecting, you'll need to install the public portion of the key on your server. See our guides to [create an SSH key](https://docs.vultr.com/how-do-i-generate-ssh-keys), install SSH keys via the Vultr Console, or manually [install SSH keys](https://docs.vultr.com/how-to-add-and-delete-ssh-keys) on your server instance.

## Connect with a Windows GUI Client

The PuTTY SSH client is part of the PuTTY suite of utilities. It is available for all versions of Windows.

1. Download the [latest version of the PuTTY utilities](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html). We recommend the MSI Windows Installer package.
2. Install the package and run PuTTY.
3. Enter the username and IP address (**root@192.0.2.123**, for example) in the **Host Name** field. If your server has a domain name, you may use that in place of the IP address.
4. Select **SSH** as the connection type.

    ![Putty Screen 1](https://assets.vultrdevrel.com/docs-main-doc-assets-1/789/f751c711d28b0cb5.png)

5. In the left-hand menu, select **Connection** -> **SSH** -> **Auth**.
6. Click the **Browse...** button and choose your PuTTY private key file with the **.ppk** extension.

    ![Putty Screen 2](https://assets.vultrdevrel.com/docs-main-doc-assets-1/789/974659037cdefef6.png)

7. Click **Open** to connect to your server.
8. When finished, end your session with :key_ctrl:+:key_d:.

## Connect via OpenSSH Client

The OpenSSH client is available for Linux, Mac, and Windows 10.

1. Verify that your workstation has an SSH client installed.

    On Linux and Mac:

        $ ssh -V
        OpenSSH_8.0p1, OpenSSL 1.1.1c FIPS  28 May 2019

    On Windows:

        C:\> ssh -V
        OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

    Linux and Mac workstations typically have SSH clients pre-installed. Windows users may need to install SSH [by following this guide](https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse).

2. Initiate an SSH connection. Substitute your username and IP address for the example. 

    If your SSH key is in the default location `~/.ssh/id_rsa`:

        $ ssh example_user@192.0.2.123

    If your SSH key is in a different location:

        $ ssh -i /path/to/your/id_rsa example_user@192.0.2.123

3. When finished, end your session with :key_ctrl:+:key_d:.

## More Information

For more information about managing SSH keys, see our other guides:

* [How to Generate SSH Keys](https://docs.vultr.com/how-do-i-generate-ssh-keys)
* Deploy a New Server with an SSH Key
* [How to Add and Delete SSH Keys](https://docs.vultr.com/how-to-add-and-delete-ssh-keys)
* Use an SSH Key for Non-root Users
