# Connect to Linux VM Instance via SSH Key

If you using Windows, you must use a third-party tools. The following instructions show how to connect to Linux VM using PuTTY with SSH key.

* Open **PuTTY** on your computer.

<figure><img src="/files/P9SiYRIiUOVcbFCglq5h" alt=""><figcaption></figcaption></figure>

* In the **Host Name** field, enter the **Public IP Address** of the VM that you want to connect, also the port number.

<figure><img src="/files/GkvbSfJvaRXt1WOtQdc0" alt=""><figcaption></figcaption></figure>

* In the category list, **Expand SSH** and click **Auth**.

<figure><img src="/files/jtKjPOv8s5us6sq4K9MN" alt=""><figcaption></figcaption></figure>

* Click **Browser**, choose private key that you saved before. Then click **Open**.

<figure><img src="/files/eMfTCUuZRQO1H06BLZeH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MAb2oGRvL2fiV50uTFvt" alt=""><figcaption></figcaption></figure>

* After that, click **open** to connect to your VM Instance.

<figure><img src="/files/fHVvjCfyIn214z6UuuRl" alt=""><figcaption></figcaption></figure>

* It will be open the login session to your VM.

<figure><img src="/files/u0LjNuQUvMDA2PwqFXEV" alt=""><figcaption></figcaption></figure>

* Try login with user root and enter your passphrase key.

<figure><img src="/files/2Nk2dvRd1gwxz3fgle7N" alt=""><figcaption></figcaption></figure>

* If there is a notification **“Please login as the user “centos” rather than the user “root””**, so you only can login using “centos” user.

<figure><img src="/files/ud96is2kpJMHKRlrcR3A" alt=""><figcaption></figcaption></figure>

* Please try login using “centos” user, now you can login to your VM instance.

<figure><img src="/files/nrAxrZeL12b3lvbmSTbH" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/deka-flexi/deka-flexi-instance/connect-to-vm-instance/connect-to-linux-vm-instance-via-ssh-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
