Site icon WP Smith

Using Git for Beginners: Installing PuTTy

As I have mentioned in my previous two posts, Using Version Control and My Development Workflow, I use Git in my development.

This post will begin to demonstrate how to setup Git and various Git GUIs for using Git and how I first learned it. The problem most people have with using is that it uses the command line and for many practical, non-developer types, this is a complete turn-off, but I am going to show you how to use Git with three GUI applications:

  1. Github for Desktop
  2. Bitbucket's SourceTree
  3. TortoiseGit

First, if you are using Windows, you must download and install PuTTy (v0.65 Installer Download). Now this is no longer required for Github for Desktop, but it is essential for SSH keys.

Install PuTTy

To install PuTTy click Next/Ok through everything.

Run PuTTy Key Generator (Open PuTTyGen)

First, click Generate to begin creating a SSH key. Next, move your mouse around in the box to create the key.

After creating the key, highlight the key created and save the key as id_rsa. Then add a passcode and save the private and public keys as id_rsa.ppk and id_rsa.pub. These need to be saved into your .ssh folder (on Windows, C:\Users\USERNAME\.ssh).


ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAnQyqK9otLFVMEDkFmiGU9LUDYU8TgLf4OIWGTVV9eEWHbpVOV+NzK2CUzhVITc0FMXWZfv0Y1+GN2SbIiHyQTSDVFRyTrLzoXhVHIu9qoy/oMTmIZusfYpSRwos2pQ8PZhJBXYbBC5+Ikda6uOwM4zdJeY2LKQGXRofCKlIL6RbaqLZw5velimVQIQmPpRd0q4k+hqADA+rZqPhBJ8wBahCx8I3jKLuy/9HUzgYyLWSPjs6D7jP4Ap2Ywgz5XOXjtOhaO4TO41nwiB8Hi4ki40q9xc+9HHHcqriUbbTFZ4wYKyuQ1PzvAd4yUgdQHjW4yX6/G0jMrPmmosTc0ncIyw== rsa-key-20150907
view raw id_rsa hosted with ❤ by GitHub
PuTTY-User-Key-File-2: ssh-rsa
Encryption: aes256-cbc
Comment: rsa-key-20150907
Public-Lines: 6
AAAAB3NzaC1yc2EAAAABJQAAAQEAnQyqK9otLFVMEDkFmiGU9LUDYU8TgLf4OIWG
TVV9eEWHbpVOV+NzK2CUzhVITc0FMXWZfv0Y1+GN2SbIiHyQTSDV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gUIiQurh61r0a1Yry7zLn0CUwldv+UWHPea27Lq
BvaUkFfAjDv7F+/lYWxxkrWae0pjvpXGKQyZ0r2p+BTZn7io7I3aIKXmZrI7qdbm
Private-MAC: f925384bc99b17b93358ebdbc2b9945d202bcbe8
view raw id_rsa.ppk hosted with ❤ by GitHub
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-20150907"
AAAAB3NzaC1yc2EAAAABJQAAAQEAnQyqK9otLFVMEDkFmiGU9LUDYU8TgLf4OIWG
TVV9eEWHbpVOV+NzK2CUzhVITc0FMXWZfv0Y1+GN2SbIiHyQTSDVFRyTrLzoXhVH
Iu9qoy/oMTmIZusfYpSRwos2pQ8PZhJBXYbBC5+Ikda6uOwM4zdJeY2LKQGXRofC
KlIL6RbaqLZw5velimVQIQmPpRd0q4k+hqADA+rZqPhBJ8wBahCx8I3jKLuy/9HU
zgYyLWSPjs6D7jP4Ap2Ywgz5XOXjtOhaO4TO41nwiB8Hi4ki40q9xc+9HHHcqriU
bbTFZ4wYKyuQ1PzvAd4yUgdQHjW4yX6/G0jMrPmmosTc0ncIyw==
---- END SSH2 PUBLIC KEY ----
view raw id_rsa.pub hosted with ❤ by GitHub