The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Access Bitbucket from a HostPapa VPS

kiusau
February 7, 2022

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
kiusau
February 7, 2022

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

TAGS
AUG Leaders

Atlassian Community Events