I use SourceTree for Mac. This started happening today…
Every time I open SourceTree and it connects using ssh and checks for changes on all the repositories (all of them in the same place), I get ip-banned…
If I do a top on the remote machine before opening SourceTree, then open it, I can see how it makes a login for every repository… and then suddenly everything freezes and my remote machine does not answer at all any more until I reboot my router for the IP to be changed…
My hosting provider is Dreamhost, if you guys think this is not SourceTree-related, I'll talk to them.
It was finally hosting related. I'll paste their answer for future reference:
I am very sorry you have had this trouble. Our security system administrator has looked into this matter, and found the the server's jail.local file was missing the correct override for the number of failed login attempts, causing the login to be blocked prematurely by our fail2ban routine.
He has corrected this, and you should no longer have this problem. I am sorry for the inconvenience this as caused, but happy to report the problem has been resolved.
Thank you anyway,
SourceTree does do checks in the background to see if there's any changes to pull. If you want to test if this is causing the problem you could turn this feature off in the preferences (General tab) as shown here:
Just turn off the "Check default remotes for updates every <X minutes>" checkbox and it won't do any background checks.
If your hosting provider is having a problem with this then it's worth speaking to them about it. In the meantime you can turn this feature off and manually hit fetch or pull on your repository. It doesn't stop you from pulling changes, it just stops background checks from happening to see if there is anything to pull.
Hope that helps
Sadly, that didn't help. I turned "check default remotes for updates…" off but, as soon as SourceTree connected the first time when I tried to do a git-pull, connection freezed.
Note: This doesn't happen when I use git on terminal!
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG