damionx7 / Zettel-Notes-Documentation

Documentation for Zettel Notes : Markdown Note Taking application for android devices
https://znotes.thedoc.eu.org/
GNU General Public License v3.0
55 stars 5 forks source link

git sync with key authentication, getting "Error login credentials not set" #2

Closed Evelf closed 2 years ago

Evelf commented 2 years ago

On the "Git sync" page, I've tried different things but I can't figure out how to use the "Key Authentication" method.

First I tried through ssh (git@<my_server_url>:<my_repo_name>.git), with "Username", "Key Authentification" to True, "Private Key" and "Private Key Pass", but I had this "Error login credentials not set" error message.

By looking to the documentation page, I noticed that the video use the HTTP syntax, so I tried to use https://github.com/Evelf/<my_other_repo_name>.git and got the same message.

The only missing "login credential" I can think of is the "Password / Token" field, but I can't use a password authentication method.

Can you help me figuring out what is going on?

damionx7 commented 2 years ago

Hey. Try using dot in password field.

Evelf commented 2 years ago

It worked, thanks!