I have problem connecting to Bitbucket from SourceTree using SSH also. Be aware that for Bitbucket the answer from Shrava40 is not correct according to documenttation - https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/ where they say only key lenght 2048 is supported for rsa key type.