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 git@bitbucket.org
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 git@bitbucket.org
git@bitbucket.org: Permission denied (publickey).
Upgrading to SourceTree 3.1.3 and the latest embedded git gave the same result
Any ideas?
Thanks,
Phil
Hello!
This probably has to do with any of the following:
git config --list --show-origin
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.