Menu

Showing posts with label putty. Show all posts
Showing posts with label putty. Show all posts

Tuesday, March 10, 2020

[Security] วิธีการแก้ไขข้อผิดพลาด "Couldn't load this key (OpenSSH-SSH-2 private key (old PEM format))" ใน TortoiseGit สำหรับ Windows
[Security] How to Fix Error "Couldn't load this key (OpenSSH-SSH-2 private key (old PEM format))" in TortoiseGit for Windows

เมื่อสร้าง SSH2 RSA key ด้วย ssh-keygen เราจะได้ไฟล์ id_rsa และ id_rsa.pub

หลังจากที่เราเอา id_rsa.pub ไปตั้งค่าบน Git Repository แล้ว เราต้องใช้ไฟล์ id_rsa ใน TortoiseGit สำหรับ Windows เพื่อ clone code จาก Git Repository ลงมายังเครื่อง ดังรูปข้างล่างนี้