Adding one more step after the long accepted answer that may help others. Go to Tools->Options in Sourcetree. Make sure you are using OpenSSH and not Putty. My problem was not resolved until I did this.