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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.