In PowerShell (Recommended)
1. Open a PowerShell Window.
2. Execute the following command:
ssh-keygen -t ed25519
You can optionally change the location (you probably do not want to do this) and add password protection.
3. Your public key is stored by default in C:\Users\username\.ssh\id_ed25519.pub.
When an SSH key pair is created, two files will be created: the key and a .pub file. The file ending in .pub is the public key and must be provided when requesting access to your server. The non .pub file is your private key, Treat this like a password, and do not share it with anyone.
In PuTTY
NOTE: Be sure to save the private key in a secure location that only you have access to. The PowerShell method does this automatically and is the recommended method for Windows users.
1. Download and install the PuTTY client: https://www.putty.org/
2. Launch PuTTYgen.
3. Select EdDSA and ensure Ed25519 (255bits) is selected.
4. Click "Generate" to generate your SSH key pair and move your mouse in the blank area of the window to create entropy for key generation.
5. Save the public and private keys in a secure location.
6. Provide the public key in the ticket when requesting access.
Comments
0 comments
Article is closed for comments.