-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
4.0
-
None
-
Severity 3 - Minor
If you've never SSH'd in to a server, you can't clone a repository from it.
- Add a new Bitbucket Server or Github Enterprise account using a personal access token.
- Set the account's Protocol to SSH and make sure your SSH Key is set up properly.
- Window > Show Remote Hosted Repositories
- 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.
- Copy the Source URL out of Sourcetree.
- In Terminal do `git clone <ssh url>`
- Trust the server's SSH key.