> For the complete documentation index, see [llms.txt](https://docs.cloudeka.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.id/deka_flexi/deka_flexi_compute/connect-to-vm-instance/connect-to-linux-vm-instance-via-ssh-key.md).

# 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="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.61%20PuTTY.png" alt=""><figcaption><p>PuTTY</p></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="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.62%20PuTTY%20Configuration%20-%20Host%20and%20Port.png" alt=""><figcaption><p>PuTTY Configuration - Host and Port</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.63%20PuTTY%20Configuration%20-%20SSH.png" alt=""><figcaption><p>PuTTY Configuration - SSH</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.64%20PuTTY%20Configuration%20-%20Browse.png" alt=""><figcaption><p>PuTTY Configuration - Browse</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.65%20PuTTY%20Configuration%20-%20Private.png" alt=""><figcaption><p>PuTTY Configuration - Private</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.66%20PuTTY%20Configuration%20-%20Open.png" alt=""><figcaption><p>PuTTY Configuration - Open</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.67%20Login%20VM.png" alt=""><figcaption><p>Login VM</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.68%20Login%20VM%20-%20Type%20User%20Root%20and%20Passphrase.png" alt=""><figcaption><p>Login VM - Type User Root and Passphrase</p></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="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.69%20Login%20VM%20-%20Login%20User.png" alt=""><figcaption><p>Login VM - Login User</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.70%20Login%20VM%20Instance.png" alt=""><figcaption><p>Login VM Instance</p></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, and the optional `goal` query parameter:

```
GET https://docs.cloudeka.id/deka_flexi/deka_flexi_compute/connect-to-vm-instance/connect-to-linux-vm-instance-via-ssh-key.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
