You will receive the below dialogue if the SSH key for the server you are connecting from is configured incorrectly or does not exist at all.

[web@server git-temp]$ git clone git@github.com:user/project.git
Initialized empty Git repository in /home/web/gittemp/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
fetch-pack from 'git@github.com:user/project.git' failed.
[web@server git-temp]$

So configure a public SSH key on your server and then import it into github by following the instructions here.

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , ,
Leave a Reply

*Type the letter/number combination in the abvoe field before clicking submit.

*