Skip to content
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

Git push failed: ssh-askpass no such file or dir on Windows #62

Open
lborcard opened this issue Aug 9, 2024 · 3 comments
Open

Git push failed: ssh-askpass no such file or dir on Windows #62

lborcard opened this issue Aug 9, 2024 · 3 comments

Comments

@lborcard
Copy link

lborcard commented Aug 9, 2024

Hello,

I am using the plugin for git and it always fails to push unless I use git bash manually to push. The problem stems from the fact that I am using windows and it seems that it's looking for linux files. I have looked for the command that's launching this but I could not find it, I would like to use gitbash for that but I don't where to modify that.

Error message:

Git push failed
ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

best,

Loïc

@grobmeier
Copy link

Same is true for Linux (Ubuntu) for me. Mac works fine

@dwbenjamin
Copy link

Same is true for Linux (Ubuntu) for me. Mac works fine

This fixed it on my Linux box: #57 (comment)
I set the config to local not global.

@dev0T
Copy link

dev0T commented Feb 21, 2025

Have you tried installing ssh_askpass like mentioned in your error? The plugin doesn't function properly when the ssh key has a passkey. Installing ssh_askpass will create a window for you to input your passkey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants