Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't Push from local

Dan Trim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 18, 2020

It was working last week, but today when I try to push my changes I get the following message:

 

Pushing to ssh://git@bitbucket.org:_____/_____.co.uk.git

ssh: Could not resolve hostname bitbucket.org:_____: nodename nor servname provided, or not known

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Completed with errors, see above

 

I've tried the following:

- Removing ssh// from ssh://git@bitbucket.org in the config file.

- Added '104.192.143.1 bitbucket.org' to the hosts file.

- Checked for [http] in .git/config within the project and .gitconfig in my home directory.

 

Any ideas?

1 answer

1 accepted

0 votes
Answer accepted
Dan Trim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2020

Went through the SSH setup process again and it worked, so must have missed a step.

https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html#SetupanSSHkey-ssh2SetupSSHonmacOS/Linux

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events