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
[BUG] Can't sync on server with ssh #782
Comments
We currently only support RSA keys for authentication, is your key using ED25519? |
I'm using the key generated on the app, it's a RSA |
I just tried using a key generated in-app and it worked for me. If you're using the default port, then the path should probably be relative to |
I've removed the |
Pretty unlikely that it's an app problem, otherwise I'd be able to reproduce it in some manner. Both Linux generated and APS generated SSH keys work as intended for me so I'm a bit lost on what could be causing it. |
Is it possible that JGit simply can't deal with multiple AuthMethods? Based on the logs, it does seem to send the public key, bit maybe chokes on the password then? |
The SSH part is handled by Jsch which makes this an even likelier situation. I'll try to confirm it on my end. |
Sorry about the delay with this. I can't seem to reproduce this problem, but I do see a blurb about |
Hi, |
That's weird... Can you hop on our Gitter room and test a couple APKs for me? Edit: imr0's issue was caused by configuration changes between 1.7.x and 1.8.x which I've assisted him in fixing. |
I can not configure correctly on the Repository information page. So what is the format of the Username and Server URL and Repo path on this page? Assuming the remote Repo is on the github.com, is the following example correct? Server Protocol:ssh |
Could you try the following and report back whether it worked? Server Protocol: ssh @msfjarvis We might want to go back to a single "Repo URL" field and maybe persist it as Base64 to work around Android limitations. Thinking about its atomic parts is just not what users are used to, it seems. |
There's no 'going back', as the app has always had split parts, but yes we'd certainly do our users a great service by making the entire thing a single URL field. |
Well, then we can even sell it as a new feature. I don't think it would require much effort: We would replace the split fields in the config activity by a single one that by default is populated with the repo URL calculated by the current logic. As soon as a user makes an edit to it, it's simply persisted as a string and the logic isn't used anymore. This would require leaving the logic in, but would allow seamless migration. I'm somewhat busy atm, but will look into it when I have time. |
|
Thank you very much, the example you gave is correct, I successfully cloned github.com Repo. In fact, I used to configure it correctly, but this time I forgot again. This is a simple and very useful program. Thank you again. |
@msfjarvis @Skrilltrax I have some time today and an idea how to resolve this properly, so you don't have to work on it. |
Describe the bug
My remote server uses publickey and password for ssh authentication (it was using OTP as well, but since it looks like this project does not support it, I've disabled it for my passtore user). When I try to sync my password store I get this message:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Sync passwords
Device information (please complete the following information):
The text was updated successfully, but these errors were encountered: