ssh-keygen -o
You can view the created files (one without extension and one with .pub
) under ~/.ssh/
. When creating several of them, you may want to rename them appropriately (e.g. work, pers...).
to the relevant github account: https://github.com/settings/ssh/new
The configuration file for ssh is usually not created by default so we create it: