can't use ssh key from Yibikey

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.5
    • Affects Version/s: 2.3.2
    • Component/s: Git
    • Environment:
      • macOS Sierra
      • pgp and ssh keys on external card (YubiKey)
    • Severity 3 - Minor

      I use a YubiKey 4 for my GPG / SSH keys. This works fine so far.

       

      But SourceTree can't access them. I get this error message:

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 
      Permission denied (publickey).
      fatal: Could not read from remote repository.
      
      
      Please make sure you have the correct access rights
      and the repository exists.
      Permission denied (publickey).
      fatal: Could not read from remote repository.
      
      
      Please make sure you have the correct access rights
      and the repository exists.
      Permission denied (publickey).
      fatal: Could not read from remote repository.
      
      
      Please make sure you have the correct access rights
      and the repository exists.
      Permission denied (publickey).
      fatal: Could not read from remote repository.
      
      
      Please make sure you have the correct access rights
      and the repository exists.
      Completed with errors, see above
      
      

        

      When I open SourceTree from command line (/Applications/SourceTree.app/Contents/MacOS/SourceTree) it works.

       

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            the4thfloor
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: