Difference between revisions of "Deploy VM with Cloud Image"
From CMU ITSC Network
Line 2: | Line 2: | ||
# เปิด Windows Powershell หรือ Terminal | # เปิด Windows Powershell หรือ Terminal | ||
# รันคำสั่งต่อไปนี้ | # รันคำสั่งต่อไปนี้ | ||
+ | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" | ssh-keygen -t rsa -b 4096 -C "your_email@example.com" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
* -t rsa : ใช้ RSA algorithm | * -t rsa : ใช้ RSA algorithm | ||
* -b 4096 : ขนาดของ key เป็น 4096 บิต | * -b 4096 : ขนาดของ key เป็น 4096 บิต |
Revision as of 09:03, 16 October 2025
การสร้าง ssh key pair
- เปิด Windows Powershell หรือ Terminal
- รันคำสั่งต่อไปนี้
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
* -t rsa : ใช้ RSA algorithm * -b 4096 : ขนาดของ key เป็น 4096 บิต * -C : เพิ่ม comment เพื่อระบุว่า key นี้ใช้กับอีเมลใด