Configuring SSH keys

To configure and set up SSH keys for your GitHub account, follow these steps:

  1. Check whether you already have an ssh key pair.
  2. Open Git Bash and enter ls -al ~/.ssh to see whether existing SSH keys are present:
$ ls -al ~/.ssh  
  1. The public key consists of the .pub extension. Create a new key pair (skip this step if you already have a key pair).
  2. Open Git Bash and paste in the following text, substituting your GitHub email address for the one shown:
$ ssh-keygen -t rsa -b 4096 -C your_email@example.com  
  1. When you're prompted ...

Get Mobile DevOps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.