MacOS/Linux using Key Pairs

Secure Shell via command line on MAC OS or Linux OS using Key Pairs

Prerequisite

Instructions

1. Log in เข้าสู่ project

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

Project Detail

2. เข้าสู่หน้า Instances

ที่แถบเมนูทางซ้าย คลิกเลือกเมนู​ COMPUTE > Instances เพื่อเข้าสู่หน้า instance

Instances List

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

คลิกที่รายการ instance ที่ต้องการ เพื่อเข้าสู่หน้า instance detail

Instance Detail

4. ตรวจสอบ external IP

ตรวจสอบ external IP ของ instance และการตั้งค่า SSH ที่ Networks & Security Groups

Instance External IP

5. เข้าโปรแกรม Terminal

เข้า program terminal จากใน Mac OS หรือ Linux

Terminal

6. ใส่ command SSH

ใส่ command ในการ SSH ดังนี้

ssh -i /path/to/your/keypair nc-user@100.127.1.4

โดยกำหนด "/path/to/your/keypair" เป็น directory ที่เก็บ key pair เอาไว้ และ ใส่ external IP ที่ต้องการ หลัง "nc-user@"

Secure Shell using Key Pair

Last updated

Was this helpful?