Cannot push to repository via SSH

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
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

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
Community showcase
Published yesterday in Agile

Are you a Jira Service Desk agent? We want to talk to you!

Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...

31 views 0 2
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