Installing Git on a AMI EC2 Instance

Jul 11, 2016 by admin Category: Blog, Development, Web Services 0 comments

Hi All,

First of this tutorial is for reference for our devs.

If you are presented with this error.

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Now this is a import part to getting this up and running, first setup a elastic ip and then login to you ec2 instance via ssh .

!important run

sudo su

This will switch you to a super user, now you can setup you keys with.

cat ~/.ssh/

Copy and paste the output into bitbucket.

Now you should be good to go.

Leave a Comment!

You must be logged in to post a comment.