Below you’ll find the individual steps to secure your SSH connection to a server using a certificate (SSH key).
1. Create an SSH Key
Open the terminal on your Mac (or Linux system) and run the following command to generate an SSH key pair:
Bash
ssh-keygen -t ed25519 -C "deine_email@example.com"
- The
-t ed25519
parameter specifies ED25519 as the encryption algorithm. - The
-C "your_email@example.com"
adds a comment, such as your email address, to the key.