Problem with SSh

Typical scenario, second time works:

zork:[develop]:fortinet-fortios$ git push origin :rt15269

ssh_exchange_identification: Connection closed by remote host

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

zork:[develop]:fortinet-fortios$ git push origin :rt15269


- [deleted] rt15269

3 answers

1 accepted

3 votes
Accepted answer

Can everyone watching or adding comments to this issue please come to add any extra information? I've made some comments on that ticket for information we need to help reproduce this.

We've managed to reproduce it. Watch that issue for more information.

2 votes

We've found the cause for this and fixed the problem. Sorry for the inconvenience and do let us know if you continue to see any problems.

Hi, Thanks for solving this. How do I close this issue?

Select Erik's answer as accepted (click the check below the votes).

Hi Dag,

The error message "ssh_exchange_identification" is normally related to SSH configuration/connection problem.

A good way to receive more details of this trouble will be through the git command using the verbose mode, as the example below:

It's possible to get the same error message when the machine have more than one network configured to the internet and there are some trouble on only one network, then the error will be intermittent.

If it's your case I would suggest you to try connecting using only one network.

Could you please try the git using the verbose mode and share the results?

Kind Regards,

Henrique Lechner

Hi, I checked with networking here and we only leave our internal network through one port.
The same firewall NATs all the traffic. The statistics for this error can be seen below.
Does this correlate to anything at your site? Today we have only had one error so far.
'Jun  6': 8
'Jun  7': 13
'Jun  8': 14
'Jun  9': 17
'Jun 10': 22
'Jun 11': 18
'Jun 12': 11
'Jun 13': 1




To do a better troubleshooting on it I would ask you to try to use the git command with the verbose mode, it returns interessing verbose level of the errors.

Kind Regards,
Henrique Lechner

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,905 views 7 10
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