Further reading here.
If you need to create a new SSH key pair, use the ssh-keygen
command to create an Ed25519 key (more secure than RSA).
ssh-keygen -t ed25519
Follow the prompts, and give it a custom filename to not override existing key pairs if you have them.