jesseduffield / lazygit

simple terminal UI for git commands
MIT License
50.78k stars 1.79k forks source link

How does lazygit work with ssh keys in windows? #3139

Open RollsChris opened 9 months ago

RollsChris commented 9 months ago

I'm wondering how lazygit works with ssh keys on windows. I thought it just calls git commands under the hood.

When I'm in a power-shell session and i use git directly, it asks for my ssh key password and everything works. But then inside lazygit (started in the same session) i am getting access denied?

Anyone have any ideas or extra info that could help?

Thanks

wjeffreys96 commented 3 months ago

I am also having this issue. Any help would be appreciated. Maybe there is a way to give lazygit your ssh key?

kpavlovsky commented 2 months ago

Having the same issue, any guidance?

ingenarel commented 1 week ago

having this issue too. i currently have to use windows and this is such a pain. never had this issue in linux.

ingenarel commented 1 week ago

okay i was having issues with git submodules in windows and i decided to research a bit more. this might be a problem with git itself.

https://github.com/git-for-windows/git/issues/1613#issuecomment-962240162

using this workaround for the submodules seems to fix the issue for lazygit too.