Typo in documentation on setting up ssh

In the bitbucket documentation, after setting up ssh keys, it says, to ssh url is:

git@bitbucket.org:accountname/reponame.git

When using this, I would get a response from the bitbucket server of:

conq: invalid repository name

Looking on this site for some guidance, the responses have always been, refer to the troubleshooting ssh issues.  This is, in fact, not an ssh issue.  It is a documentation issue on the syntax of a URL.  

The URL syntax on the page "Configuring multiple SSH identities" in the section "Create SSH config file" in the table that shows git syntax the URL should be:

git@bitbucket.org/accountname/reponame.git

In other words, replace the 'colon' with a 'forward slash'.

I hope this helps improve your product.  

Rich

1 answer

0 vote
Gary Sackett Atlassian Team Oct 07, 2015

Hi Rich,

I am a bit confused here as to where the typo is.  Looking at https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git, it shows an example for configuring your git config file as:

[remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = git@bitbucket.org:emmap1/bitbucketspacestation.git

The url being:

git@bitbucket.org:account/repo.git

This is correct syntax for using SSH with Bitbucket.  What client/OS are you using?

Cheers,
Gary 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,764 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you