In Previous article, i have explained step by step approach to configure Git for Salesforce using Eclipse and Egit plugin. However, i have explained the “https” method to connect Git directly. There are several repositories which does not support the “https” protocol and prefer “SSH” (Secure Shell) protocol.

So, in this article i will extend the previous one by showing how to connect git using “SSH” protocol. In this article i am referring Unfuddle.com

We will need to generate the private key (RSA) which will be unique and locked with the help of secret passphrase.

Click on button “Generate RSA Key” and after that provide secret Passphrase (dont forget this passphrase), now save the “private key”, if possible in “.ssh” folder which is located at “C:UsersUseName.ssh”.

For SSH login, let’s take example of “Unfuddle”, where we need to connect to Git using SSH protocol.

In Unfuddle, navigate to “Personal Setting” and at the bottom of page you will find option to add “public Keys”. Copy the key generated in above screen and paste it in Unfuddle personal Setting.