Skip to content

Instantly share code, notes, and snippets.

@brandentimm
Created January 20, 2015 17:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandentimm/4c909b6c54085887daff to your computer and use it in GitHub Desktop.
Save brandentimm/4c909b6c54085887daff to your computer and use it in GitHub Desktop.
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
@keeth
Copy link

keeth commented Jan 23, 2015

I'm having the same problem.

@keeth
Copy link

keeth commented Jan 23, 2015

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