Add the following to your ~/.ssh/config file Host bitbucket.org HostName bitbucket.org PubkeyAcceptedKeyTypes +ssh-rsa