Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-4343

can't use ssh key from Yibikey

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.5
    • 2.3.2
    • Git
      • macOS Sierra
      • pgp and ssh keys on external card (YubiKey)
    • Severity 3 - Minor

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              sstreeting Steve Streeting (Inactive)
              9569575444c2 the4thfloor
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: