Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pensebien
Last active November 28, 2017 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pensebien/ed6a6ff7ca0071368a915ef590c27e4f to your computer and use it in GitHub Desktop.
Save pensebien/ed6a6ff7ca0071368a915ef590c27e4f to your computer and use it in GitHub Desktop.
Setup and Test SSH Authentication from Scratch Git Bash on Windows 7

Setup SSH Authentication using GIT BASH on Windows

######################################################

This set is broken down into

  1. Generating a new SSH Key and Adding it to the ssh-agent

    Read more about SSH agent

    And read about Generating a new SSH key from Github help

  2. Setup SSH Authentication for Git Bash on Windows

    Close the Git Bash file

  3. Test your setup

    • In your Git Bash shell

    $ eval "$(ssh-agent -s)"

    to help you start your ssh-agent if it is not started

    • Verify that you have a private key generated and loaded into SSH. if you're using OpenSSH

      $ ssh-add -l or ssh-add -l -E md5

You can also look here to get more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment