This note covers the basic steps to generate a new pair of authentication keys to be used in [[SSH]], to be identified with [[GitHub]], [[Google Cloud Platform]] or any other remote server. Due to personal preference, this will generate a key with no passphrase. For any other configuration check the [GitHub guide to do so](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) On a [[Linux]] or [[macOS]] machine: 1. Generate the pair of keys using `ssh-keygen -t ed25519 -C "[email protected]"`. 2. Select all the default options; leave the passphrase empty. 3. If not there already, add this snippet to `~/.ssh/config` to configure all connections in SSH: ``` Host *   AddKeysToAgent yes   IdentityFile ~/.ssh/id_ed25519 ``` 4. Add the identity to the SSH agent: `ssh-add ~/.ssh/id_ed25519`