To generate a new key. Add a password so the key works with GitHub.
ssh-keygen
To add the key to GitHub, go to Settings => SSH and CPG keys => New SSH Key
To add new a key, you can specify a different name by entering the file path:
/Users/name/.ssh/name_of_key
The first “name” will already be determined by the user in your Mac, you will need to specify “name_of_key” so it’s saved a new key that you can use later.
Have any questions or comments? Write them below!