-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Unable to use Git Push feature #12
Comments
This is an upstream coder/code-server#208 For a workaround in the comment of the upstream issue:
To be honest, please use a public/private key pair instead of username/passwords... 😉 |
I have hass.io installed on my ubuntu server with docker. How do you get the keys to persist? They are removed when the container is restarted. I tried symlinking the hosts keys folder to my homeassistant config folder, but they didn't work. Appeared to be permission related. |
@raulvasquez The |
What .ssh folder are you referring to? I have the SSH add-on too, so I tried adding my key in my user's .ssh folder, but VScode showed no change. I know very little about docker. I tried googling around for how to setup an SSH key between this add-on and GitHub, and I wind up at this thread :) |
I also have this issue. I created a key in the .ssh folder, added the key into my github account. But how do I say to vscode to use this key instead of the username/password? |
I found my .ssh folder in the hassio root /addons/data/xxxx_vscode/.ssh |
it should use the key by default but you have to accept the github hostkey |
I'm closing this issue. While it is still present, there is nothing the add-on can do about it. I hope it will be resolved Upstream, however, it is recommended to use private/public keypairs. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Problem/Motivation
I'm unsure if this is expected behaviour (and there's a configuration step I missed) or an issue with the addon.
When using git inside VSCode, I can commit changes using the GUI, but when I use the push command I get an error that I cannot find the askpass.sh file.
Expected behavior
It should ask for a username and password for the git repository.
Actual behavior
The command fails with an error message. (screenshot)
If I open the git log, this is the error I see:
If I go directly to the terminal and type in the same command (
git push origin master
) it correctly asks for my authentication and the push succeeds.The text was updated successfully, but these errors were encountered: