Git With ssh on Windows

In this exercise, we will try to setup git and use ssh to connect the repo.

  • Download and install git
  • Open Git bash window
  • Generate the keys
ssh-keygen
# this will generate an private key (id_rsa) and public key (id_rsa.pub)
  • Add the content of public key (id_rsa.pub) to git profile settings
  • Run git clone
git clone ssh://git@git_repo_url:7999/test.git