Created
January 20, 2015 17:30
-
-
Save brandentimm/4c909b6c54085887daff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fileserver_backend: | |
- git | |
gitfs_provider: pygit2 | |
gitfs_remotes: | |
- git@gitlab.<tld>:it/salt.git: | |
- privkey: /root/.ssh/id_rsa | |
- pubkey: /root/.ssh/id_rsa.pub | |
----- From log file: | |
[salt.loaded.int.fileserver.gitfs][ERROR ] Exception 'Unsupported URL protocol' caught while fetching gitfs remote git@gitlab.<tld>:it/salt.git | |
Alternatively using ssh:// format: | |
gitfs_remotes: | |
- ssh://git@gitlab.<tld>/it/salt.git: | |
- privkey: /root/.ssh/id_rsa | |
- pubkey: /root/.ssh/id_rsa.pub | |
--- From log file: | |
[salt.loaded.int.fileserver.gitfs][ERROR ] Exception 'Unsupported URL protocol' caught while fetching gitfs remote ssh://git@gitlab.<tld>/it/salt.git | |
Solved: Looks like libgit2 was not compiled with libssh2 enabled.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having the same problem.