O'Reilly logo

Mobile DevOps by Jhalak Modi, Rohin Tak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required