1

Recently I was looking at utilities for handling ssh-agent at an even higher level, so that entering SSH keys passphrases becomes even more seamless than with the standard ssh-agent utility.

One such utility is ssh-ident, the one I chose as the best solution for my workflow. I have configured my system paths so that Git uses ssh-ident instead of regular ssh, which is what the utility requires in order to work.

However, whenever I have to enter an SSH key passphrase through Magit, I get stuck because Magit does not parse the prompt that this tool issues. I would like to know if it is possible to fix this issue (or, in general, of any solution to have ssh-ident work w/ Magit).

Thank you for your help!

2

I created this minor mode that adds a hook to Magit when it needs credentials and gets user input for ssh-ident. The code still needs to be improved though.

emacs-ssh-ident

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.