



When you are prompted to “Enter a file in which to save the key,” press Enter.> Generating public/private rsa key pair. If everything went well you would see the log message as shown below. This creates a new SSH key for the email address that was provided. In the Terminal application, paste the code below and substitute your GitHub email address.If you don’t have an existing public and private key pair, or don’t wish to use any that are available to connect to GitHub follow through the steps mentioned below. Enter the following command to see if there are existing SSH keysīy default, you might end up seeing the filenames of the public SSH keys like the ones mentioned below:.It is always safe to initially check for existing SSH keys before creating a new one. By connecting to GitHub through SSH, you won’t be prompted to enter your credentials every time you pull or push to a repository which is something you would end up doing way too often.
