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

Cannot push to repository via SSH

Stanislav May 1, 2017

I have repository on bitbucket and I want to push to it my changes from local one. Also I have configured SSH: generated public/prevate keys, set public key to BitBucket, set private to Pageant.

But when I was pushing my changes, I got this error:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v --tags origin master:master
Pushing to git@bitbucket.org:s_khvalinskyi/test_simple_repository.git
FATAL ERROR: Server unexpectedly closed network connection
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.

 

What should I do?

1 answer

0 votes
Mihaela Robb November 2, 2017

Might be your firewall settings preventing you from using port 22 when trying to communicate with the bitbucket server.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events