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
Support for external ssh-agent #17
Comments
Edit: Nvm, ignore this comment, I was thinking of something else. I'll get back to you later. |
Actually, I may have been right. Can you share the path of your SSH Key please? It seems that using the non-default path can be problematic. |
oh i see. I have the public key stored inside |
Unfortunately that is not something supported by Apache SSHD, the library used for the SSH authentication. There aren't any other reliable libs that would help to solve the issue and it's completly out of the scope of the project for now to implement myself, as it would require a considerable effort. If it's an option, I would suggest storing the private key in the default path. I'll edit the issue to make the title clearer as well as adding it to the FAQ. I'll also leave the open issue to see if there is additional interest or someone wants to offer a solution. |
Any reason not use existing git setup and leave most of this functionality to the components that work outside the application? I'm using git via SSH and the keys are stored in Pageant (on Windows) and handled via KeePassXC. I'd like to keep that setup, if possible. It works with Git CLI and a few other GUI programs that use Git in the background. |
It's mostly because working with Git CLI is quite a pain. The whole SSH situation will probably be solved once this is finished #33 It's already WIP and I hope it fixes all the SSH related issues once for all x) |
I have the private key on the default path, but I still get the following error:
I use Ubuntu 22.04.1, Gitnuro 1.1.1 jar, openjdk 17.0.5. Is it possible to produce a tutorial on how to pull to Github? |
How did you create the key @dcolazin ? |
I used this guide by github, I tried using both ed25519 and rsa. |
With the merge of the LibSSH support, ssh-agent is supported in all 3 OS and will be available in v1.2.0 |
Thank you! I will try the snapshot. |
Hi @JetpackDuba , I tried again with the version 1.2.1, generating both ed25519 and rsa keys. When trying to push to a test repo I get the following error
|
Hello! You seem to be using HTTP authentication rather than SSH, the error shows the URL. |
Thank you for the fast reply. You were right: I initially cloned the repo using |
No worries! |
Describe the bug
I'm using a ssh agent with ssh key (algo:
ssh-ed25519
). When trying to pull the repo from Gitnuro, error pop upTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Able to pull the repo
Logs
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: