Connect to GitHub using SSH keys

Connect to GitHub using SSH keys

As of August 2021, GitHub has removed support for Password Authentication while using HTTPS protocol.  It is convenient (and recommended) to access GitHub repos securely using SSH Keys.

Generate a public/private RSA key pair

Skip to next step if you already have an existing SSH key pair
Windows 10/11 - Use Powershell/Windows Terminal or WSL

$ ssh-keygen

 The output of the command should look as follows:



Access the Key Pair

Once this command has completed you can display your SSH key pairs in your home directory ($HOME/.ssh/).
cat ~/.ssh/id_rsa.pub
The output of the 'cat' command will display the file contents:

You need to upload the contents of this Public key file to your GitHub profile.

Upload your public key to GitHub

Go to your GitHub profile and click on 'Settings':



Select the Access option for 'SSH and GPG keys'



Select 'New SSH key'

Add a title for this key, and paste the contents of the public key file (~/.ssh/id_rsa.pub) into the Key textarea:


Access the SSH based GitHub URL

Once the settings are saved you can use SSH based GitHub URLs to access your private repos.



    • Related Articles

    • Generating SSH keys

      Introduction This tutorial will demonstrate how to generate a SSH key pair which is required to access an Application. In addition, this document describes how to access a running Application from multiple different SSH keys. We will use Ubuntu 20.04 ...
    • Transferring data files using SFTP

      Introduction This tutorial will demonstrate use of SFTP (Secure File Transfer Protocol) to transfer files into an application instance. Files can be read/write to the operating system disks or the Denvr Storage platforms using the /data/ filesystem. ...
    • Using two-factor authentication (2FA)

      Denvr Cloud supports two-factor authentication (2FA) using Google Authenticator. 2FA is highly recommended for account security and is managed by the Tenant Administrator. Tenant authorization for 2FA The Tenant Administrator controls if users are ...
    • Transferring data files using JupyterLab

      Introduction This tutorial will demonstrate use of Jupyter Lab for file transfer. Files can be read/write to the operating system disks or the Denvr Storage platforms using the /data/ filesystem. Launch Jupyter application For additional ...
    • Using reserved nodes

      During application deployment please select your reserved pool from the 'Resource Pool' list. You should typically see one or two resource pool types: on-demand: shared tenancy nodes reserved-{tenant}: dedicated nodes strictly isolated for your ...