We have a script that tests our user's development environment to make sure everything is set up correctly. To test that SSH is setup the script runs
ssh -T email@example.com
which is straight from Atlassian's trouble shooting page: https://confluence.atlassian.com/bitbucket/troubleshoot-ssh-issues-271943403.html#TroubleshootSSHissues-TestSSHauthentication
For some reason though, one of our SourceTree users fails this test even though their SSH connection to bitbucket is working fine. They can run git pull or push without and trouble but when they run the command above they get:
$ ssh -T firstname.lastname@example.org
email@example.com: Permission denied (publickey).
Upgrading to SourceTree 3.1.3 and the latest embedded git gave the same result
This probably has to do with any of the following:
git config --list --show-origin
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events