Login Try it Free

how to clone an private repo from bitbucket.org ?

tonny dam Jun 09, 2012 01:07AM MDT

Hi all,

I clone repo from Gihub and bitbucket successfully.
But i'm not lucky with private repo.

How can i clone a private repo from bitbucket.org to padogabox?
Add team (i found someone named pagodabox) ?
or add SSH public key?

I tried add SSH key: (pagodabox ssh public)
AAAAB3NzaC1yc2EAAAABIwAAAQEAxJoencA6t8Sqqw1U03PFjX4v5bTcBcq4Oo78sMcKHU+3+MtCNpq5mRZccxHVGsdxdh8LFYQCbRYYjjABmWxryydainentiN7vcUXqJJLnHNvT/k7T1Yn4tE3rq24xHivmNR5go/ef90rUzdMEYS5LOanegSE2GKnbx7CxtLHOLL38ap50lhc9e9qelO3nE2ERYjuhHdwd1gxA+MykpzuRqO8k9xQ0iOM+5T9yY77N+Ik3kxgVj0YGjUKrcJt9U0Ue78wJxzgTda8oLxhCNSEuqYJSyWb7oFjK4cqCsa5WzKDOb5aESwzqC0ykuGN2YnghuEHAJvvwnBJt4jxvcxNsw==

but it got error, it seems a invalid ssh key.

Now, what thing i can do ?

Up 1 Rated Down
Scott Jun 11, 2012 11:11AM MDT Pagoda Box Agent

Someone added our public key to their account on bitbucket which is causing problems for people wanting to clone from a private repo. We’ve reached out to the person who did that and we’re awaiting their response. If we don’t get a response, we’ll probably just change our public key. The proper method is to add us to your team so that we can clone from it. For the time being, you may have to add us as a remote and deploy to an empty repo.

Thanks,

Joseph Brower

Up 3 Rated Down
tonny dam Jun 11, 2012 11:51AM MDT

And what's username of pagodabox in bitbucket.org ? which i can add to my team?

Thanks,

Up 3 Rated Down
Scott Jun 11, 2012 11:53AM MDT Pagoda Box Agent

It is pagodabox. We are still waiting on the other person to remove our key from their user so we can add it to ours however.

Thanks,

Joseph Brower

Up 4 Rated Down
Ayumi Jun 18, 2012 09:45PM MDT

I want to clone private repo from Github so I try to add the key(http://help.pagodabox.com/customer/portal/articles/221647) for PagodaBox. However I can't add it.
Github ssid that.
Key is invalid. It must begin with 'ssh-rsa' or 'ssh-dss'. Check that you're copying the public half of the key

Is it same problem?

Up 1 Rated Down
Scott Jul 13, 2012 11:23AM MDT Pagoda Box Agent

There a currently some glitches with cloning from private repos. In the mean time we suggest cloning the repo to your local machine, creating an app on pagoda via an empty repo, then pushing to it from your local.

Up 1 Rated Down
Alex Nov 19, 2012 11:49AM MST

This thread has a few months, but looks like this problem still exists.

I tried adding the key, with/without ssh-rsa at the beginning, trying SSH or HTTPS, no way..

Is it sufficient to add your BitBucket user as collaborator ?

Up 1 Rated Down
Scott Nov 26, 2012 09:03AM MST Pagoda Box Agent

You’re right that there are still issues with cloning private repo apps. The best option still is to clone it locally, then push to Pagoda like has been suggested. You’ll most likely need to have the repo locally anyway since the clone is just just for the initial launch anyway. Even if you were able to clone it, Pagoda wouldn’t be pulling any future updates from it. You’d still have to do that with a local repo.

This question is closed to new answers.

Contact Us