Jeff King [off-list ref] writes:
export SSH_ASKPASS=whatever
# this will try the terminal first, then SSH_ASKPASS, because it is
# ssh doing the asking
git push ssh://example.com/repo.git
Sorry, you lost me here. Does "ssh example.com" consult the terminal
first and then fall back to SSH_ASKPASS environment variable?
I was under the impression that SSH_ASKPASS was to either give hands-free
access to the keychain or give GUI experience so that people do not have
to type from their terminals...
# this will try SSH_ASKPASS first, then the terminal, because git is
# doing the asking
git push https://example.com/repo.git
So now I'm more convinced than ever that the order should be
GIT_ASKPASS, terminal, SSH_ASKPASS.