- You can generate them using this command:
ssh-keygen -o -t rsa -b 4096 -C "[email protected]"
- There will be a question about the file name. Choose different file names so it won't override the existing ones.
- It's also important to keep those files with read/write permission only for you:
$ sudo chmod 0600 ~/.ssh/id_rsa_github
$ sudo chmod 0600 ~/.ssh/id_rsa_github.pub