Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,020
Community Members
 
Community Events
176
Community Groups

How to Access Bitbucket from a HostPapa VPS

The following procedure for cloning my Bitbucket repository to the HostPapa server does not work:

$ ssh -T git@bitbucket.org
Enter passphrase for key '/home/thege0/.ssh/id_rsa':
authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled

$ git clone git@bitbucket.org:kiusau/deflation-made-simple.git
fatal: could not create work tree dir 'deflation-made-simple': Permission denied
$

Please advise.

Roddy

1 answer

1 accepted

0 votes
Answer accepted

The problem was overcome when I by-passed the password for the private-key with the following SHELL commands and realized that cPanel's GIT Version Control feature and Bitbucket are incompatible.

$ eval $(ssh-agent)
Agent pid 11772
$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /path/to/private/key/id_rsa:
Identity added: /path/to/private/key /id_rsa

After insuring that I -- not root -- owned the new directory that I created to hold my cloned repository I entered the destination folder with the SHELL cd command.  While in the folder I followed with the following Bitbucket git command.

git clone git@bitbucket.com:kiusau/deflation-made-simple

I suppose that I must now create a repository out of the cloned files and folders with the

git init

and subsequent commands.

Roddy

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events