-
Notifications
You must be signed in to change notification settings - Fork 277
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
Error occuring when trying to clone github repo with SSH credentials using rugged #347
Comments
|
Gah! Is it not possible with strings or StringIO? |
Nope, it's a limitation we inherit from libgit2. You should open an issue in the libgit2 repo. |
Tempfile to the rescue |
Yeah, or that. 👍 |
@arthurschreiber I also posted the question on SO if you wanted to answer there for some rep |
It looks like support for this was added to libgit2 in 0.23.0 |
I'll add support for this asap. |
💖 |
🌟 thanks! |
@gabriel403 @boblail Check out #501. It will only work with very recent versions of libssh2. |
When trying to clone a remote repo with Rugged, I keep getting the error
Failed to authenticate SSH session: Unable to open public key file
I add my ssh credentials fine, but when I come to doing the clone the above error occurs.
Where publickey and privatekey are string holding the keys.
The text was updated successfully, but these errors were encountered: