It is normal to associate multiple public keys with your GitHub account.Some people even have one key per computer, per service (I do not do this). You should probably have one key per computer (I do this). Don’t do weird gymnastics in order to have only one key pair, re-used over multiple computers.This can make setup and usage harder, so if you’re not up for that (yet), either don’t use a passphrase or seriously consider using HTTPS instead. It’s best practice to protect your private key with a passphrase.You should swap out your SSH keys periodically.You can use one method from computer A and the other from computer B. If you are new to programming and the shell, you’ll probably find HTTPS easier at first (chapter 9).Add your public key to your GitHub profile.If you protected it with a passphrase, you may have additional configuration. Add the private key to your ssh-agent.Optionally, encrypt the private key with a passphrase (best practice). Literally, 2 special files, in a special place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |