> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/compute/compute-instance/ssh-to-linux-compute-instance/windows-client-using-key-pair.md).

# Windows Client using Key Pair

## Prerequisite

* สร้าง Compute Instance ที่มีการตั้ง authentication เป็น key pair ([ขั้นตอนการ launch instance](/ncs-documents/compute/compute-instance/launch-compute-instance.md))
* ต้องมีไฟล์ private key ที่ได้จาก key pair ([ขั้นตอนในการสร้าง key pair](/ncs-documents/compute/key-pair/managing-key-pair-s.md))

## Instruction

### 1. Log in เข้าสู่ Project

เลือก project จากหน้า projects management เพื่อเข้าสู่หน้า project detail

![Project Overview](/files/E6DSMTfdEt1ES1nWfFD0)

### 2. ไปที่ Compute Instance&#x20;

ที่แถบเมนูทางซ้าย คลิกเลือกเมนู​ COMPUTE > Compute Instance เพื่อเข้าสู่หน้า Compute Instance&#x20;

![Project Overview](/files/eAQdodaplNK0ZTfpoKj1)

### 3. เข้าสู่หน้า Compute Instance Detail

คลิกที่รายการ Compute Instance ที่ต้องการ เพื่อเข้าสู่หน้า Compute Instance detail&#x20;

![Instances Page](/files/VLM9i3TGBEHaQsMAj7Kg)

### 4. เช็ค External IP

ดู external IP ของ Compute Instance และการตั้งค่า SSH ที่ Networks & Security Groups

![Instance Overview](/files/cfvmd7kNJncjenuf5HQ9)

### 5. นำ External IP ไปเชื่อมต่อผ่าน Putty

![Fill External IP in Putty](/files/EwlE4EERanKxgkEU19A9)

​**Host Name** : ใส่ External IP

**Connection Type** : เลือกเป็น SSH

### 6. ใส่ไฟล์ Key Pair เพื่อ authentication

คลิกเลือก connection > SSH > Auth

จากนั้น คลิกที่ปุ่ม 'Browse...' เลือกไฟล์ .ppk private key มาแล้วคลิกที่ปุ่ม open&#x20;

โดยถ้า gen key pair จาก NIPA Cloud Space ให้ [convert .pem key pair ไปเป็น .ppk ก่อน](/ncs-documents/compute/compute-instance/ssh-to-linux-compute-instance/converting-key-pair-for-putty.md)

![Browse Key Pair](/files/ruwbi1gm8jC2dy13zb99)

### 7. ใส่ User เพื่อ SSH เข้าสู่ Linux Instance

ใส่ user : nc-user แล้ว enter จะเข้าสู่ Linux Instance

![SSH Success](/files/T1h4CpI88p0yn3wsmy4O)


---

# 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-epc.gitbook.io/ncs-documents/compute/compute-instance/ssh-to-linux-compute-instance/windows-client-using-key-pair.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.
