Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported URL protocol #249

Closed
marcinwyszynski opened this issue Sep 1, 2015 · 1 comment
Closed

Unsupported URL protocol #249

marcinwyszynski opened this issue Sep 1, 2015 · 1 comment

Comments

@marcinwyszynski
Copy link

I have the following code raise an Unsupported URL protocol on Remote.ConnectFetch with URL git@github.com:waneck/linux-ios-toolchain.git. This being a standard git clone URL I would expect it to work and call the credentials callback provided. Nothing changes when I use the URL in the ssh://format. Can you please kindly let me know what URL format should be used for Git over SSH?

@notabeatle
Copy link

For others who end up here searching for answers, you need to compile libgit2 with ssh support. This is not the default for the libgit2 provided by homebrew on OSX as of this writing, for example. For that case in particular, try brew install libgit2 --with-libssh2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants