การสร้าง SSH Keys บน Windows เดิมซับซ้อน ต้องติดตั้ง Third-party Tools ตั้งแต่ Windows 10 April 2018 Update Windows มี OpenSSH Client ติดตั้งมาพร้อม ใช้ ssh-keygen สร้าง SSH Keys ได้ เดินทางทั้งกระบวนการ

ตรวจสอบและติดตั้ง OpenSSH
- เปิด Settings > Apps > Manage optional features
- หา OpenSSH Client ในรายการ ไม่มี > Add a feature > ติดตั้ง OpenSSH Client
- อาจต้อง Reboot PC หลังติดตั้ง

สร้าง SSH Key Pair
- เปิด Command Prompt จาก Start Menu
- พิมพ์
ssh-keygenEnter - Prompt ยืนยัน Save Location แนะนำกด Enter ใช้ Default (User Directory) หรือพิมพ์ Path แล้ว Enter
- เลือกเพิ่ม Passphrase (Password) ให้ Key: พิมพ์ Passphrase Enter หรือกด Enter ทันทีเพื่อข้าม

Windows สร้าง RSA Public/Private Key Pair Public Key เก็บเป็น id_rsa.pub ใน Directory ที่ระบุ Upload Key นี้ไป Machine ที่ต้อง SSH เข้า ใช้ Windows Built-in SSH Client: ssh admin@wsxdn.com เชื่อมต่อและยืนยันตัวตนด้วย Credentials ที่สร้าง