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

Sourcetree can't clone repositories until the server SSH key has been trusted externally

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 4.0
    • Git
    • None
    • Severity 3 - Minor

      If you've never SSH'd in to a server, you can't clone a repository from it.

      1. Add a new Bitbucket Server or Github Enterprise account using a personal access token.
      2. Set the account's Protocol to SSH and make sure your SSH Key is set up properly.
      3. Window > Show Remote Hosted Repositories
      4. Click the Clone button on a repository that shows up.

      Sourcetree churns for a long time, then attempts to clone the repository using Mercurial which fails since it's a Git server. The (IMO unintuitive) workaround is this.

      1. Copy the Source URL out of Sourcetree.
      2. In Terminal do `git clone <ssh url>`
      3. Trust the server's SSH key.

              Unassigned Unassigned
              8e05ea546a07 Ian Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: