Am I getting ip-banned because of SourceTree connections to my remote machine?

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.


3 answers

1 accepted

0 votes
Accepted answer

SSH, both.

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,


Hi Señor,

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

Thanks Kieran.

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!

Are you using SSH or HTTPS in SourceTree and on the command line?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

824 views 3 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