---
title: "How to use the KVM console to access a VPS"
description: "Find out how to log on to your VPS via web browser with the KVM functionality"
url: https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/using-kvm-for-vps
lang: en
lastUpdated: 2025-02-07
---
# How to use the KVM console to access a VPS

## Objective

The KVM console for VPS available in your OVHcloud Control Panel allows you to open a connection to your VPS in your web browser, independently of additional connection software. KVM in this context stands for "keyboard, video, and mouse", referring to the emulated input/output method of the remote connection.

:::info
Note that the KVM console is not a workaround solution if you have lost access to the operating system of your VPS. You will need to [use the VPS rescue mode to recover server access](/en/guides/bare-metal-cloud/dedicated-servers/replacing-user-password.md) in that case.

:::

**This guide explains how to use the KVM console to access your VPS.**

## Requirements

- A [Virtual Private Server](https://www.ovhcloud.com/en-gb/vps/) in your OVHcloud account


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/dedicated/vps">VPS management</ManagerLink>
- **Navigation path:** <code className="action">Bare Metal Cloud</code> > <code className="action">Virtual private servers</code> > Select your VPS

***


## Instructions

### How to open the KVM console via the OVHcloud Control Panel

In the tab `General information
`, click the button `...
` next to the name of your VPS in the section **Your VPS**
.
![Open KVM](/images/assets/screens/control-panel/product-selection/bare-metal-cloud/vps/cp-kvm.png)
### How to open the KVM console via the OVHcloud API


Unfold this section

If you are not familiar with the API, consult our guide on the [basics of using the OVHcloud API](/en/guides/manage-and-operate/api/first-steps.md).
To retrieve the KVM access URL, open this endpoint:

🇪🇺EU▾

[POST/vps/{serviceName}/getConsoleUrl](https://eu.api.ovh.com/console/?section=/vps&branch=v1#post-/vps/-serviceName-/getConsoleUrl)

Enter the internal name of your VPS (`vps-x11x11xyy.vps.ovh.net`) in the field `serviceName`.
Click the button <code className="action">EXECUTE</code>.
The access URL will be displayed in the section `RESPONSE`.

### Using the KVM console

If you access the KVM from the OVHcloud Control Panel, it will open in a popup window. To use it in full-screen, click on the link `Open in a new window
` in the bottom right corner. This will usually open a new browser tab.
![Connecting to KVM](/images/bare-metal-cloud/virtual-private-servers/using-kvm-for-vps/kvm_screen.png)
The KVM screen displayed depends on the operating system and the individual state of the VPS. If prompted, log in with the credentials of an active user account.

You can alternatively use a third-party software client to connect.

#### How to change the keyboard layout

:::info
The keyboard of the KVM console may have a different layout from your own. Before entering a password, type some characters to verify the layout, for example with the help of [this page](https://en.wikipedia.org/wiki/Keyboard_layout#Conventional_Latin-script_keyboard_layouts).

:::

You can enable your preferred keyboard configuration to make using the console more convenient. Enter the following command:

```bash
sudo dpkg-reconfigure keyboard-configuration
```

If necessary, install the package first via your distribution's package manager (`sudo dnf install keyboard-configuration` or `sudo apt install keyboard-configuration`).

A graphical menu will open in which you can select a keyboard model.

![KVM](/images/bare-metal-cloud/virtual-private-servers/using-kvm-for-vps/kvm_vps01.png)
Use the arrow keys to navigate to the option that comes closest to your hardware, then press `Enter
`.
In the next menu, choose your country.

![KVM](/images/bare-metal-cloud/virtual-private-servers/using-kvm-for-vps/kvm_vps02.png)
In the third menu, you can specify your actual keyboard layout.

![KVM](/images/bare-metal-cloud/virtual-private-servers/using-kvm-for-vps/kvm_vps03.png)
Depending on your selections, there may be further options showing up after the third menu.

Back at the command line, enter the following command to apply the changes:

```bash
sudo systemctl restart keyboard-setup
```

:::info
This change will not persist if the server is rebooted.

:::

## Go further

For specialized services (SEO, development, etc.), contact [OVHcloud partners](https://partner.ovhcloud.com/en-gb/directory/).

If you would like assistance using and configuring your OVHcloud solutions, please refer to our [support offers](https://www.ovhcloud.com/en-gb/support-levels/).

Join our [community of users](https://community.ovhcloud.com/).
