It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I have ssh enabled, a key added, and ssh'ing to the server works perfectly fine.
Whenever I try to pull/push with ssh, I get this error:
fatal: '/ad/isc-admissions.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I know that the repo does exist and I have access to it. I am, however, able to push/pull via http and my password.
What am I doing wrong?
$ git remote -v bitbucket ssh://git@server.com:10022/ad/isc-admissions.git (fetch) bitbucket ssh://git@server.com:10022/ad/isc-admissions.git (push)
We ssh through 10022.
Same commands when using http or ssh.
$ git fetch bitbucket master fatal: '/ad/isc-admissions.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
When I remove that remote and add the http url, it works fine after I authenticate with my password.
The url for http has a different path and user compared to ssh.
http://grant@server.com:7990/scm/ad/isc-admissions.git
ssh://git@server.com:10022/ad/isc-admissions.git
I've added the git user's ssh key to the repo with the same results. My key is added to the git user's as well. I can ssh into the server as git no problem.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreBitbucket 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 ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.