On Jan 4, 2022 at 7:53:27 AM, Jean-Jacques Brucker < jeanjacquesbruc...@gmail.com> wrote:
> "git push" was stuck asking forever the passphrase of my ssh key (even if > I wrote it correcty). > > A workaround is to remove the passphrase (using "ssh-keygen -p"), but it > is not an acceptable solution. > > It seems like a problem of closed or badly redirected stdin file > descriptor. > I think there are two potential options here. The first option would be to use an ssh-agent. If you add your key to the agent git-lfs will be able to use it. The second option would be to install ssh-askpass and set the SSH_ASKPASS environment variable so that it prompts you for your passphrase. Stephen