Generating a new SSH key
Here’s an example command that will generate an Ed25519 key and save it as
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
You will be prompted to add a passphrase to secure your key.
After you’ve generated your key, the next step will be to add the key to your account.