How to access a git repository using SSH?

Setup Git

  1. Install it with sudo apt-get install git (see here)
  2. Configure Git (see here)

Implement SSH on GitHub/BitBucket

  1. Generate the SSH key with ssh-keygen -t rsa -b 4096 (see here)
  2. Copy the content of your public SSH key, it is the file by default
  3. Paste the content into your GitHub/BitBucket account on the SSH key section

Get the repo

Just clone it:

For more information managing a repo, take a look at the Git For Humans guide.

GUI Tools

You can install git-gui which is a built-in GUI tool for commit.

For more options, take a look at the list on the official page.

Big thanks to this blog author

Web Analytics