The sound distributed version control system

#756 Fix `identity` prompt on Windows, add `--ssh-key-path` option

Opened by nikitalita on February 8, 2023
nikitalita on February 8, 2023

There is no Windows ssh-agent support in the library that pijul uses, so the identity prompt errors out if you choose to add an ssh-key. I changed the prompt so that it just asks for the keypath and just auto populates it with the default of $HOME/.ssh/id_rsa.

I also added an --ssh-key-path option to ease doing this without the prompt.

nikitalita added a change on February 8, 2023
Fix ssh-key prompt on windows, add `ssh-key-path` option by 3XK7RQMmoAUWdZeCgn1oULAJi2m7kLuFhnJsb6Y2wEVQ,
pmeunier on February 22, 2023

Hi! Thanks for this patch. However, since I’m also the author of the library Pijul uses for SSH, I would rather fix the issue on Windows, as I believe it would also yield a better UX.

What do you think? I’m not very familiar with Windows.

nikitalita on February 22, 2023

I have no idea how ssh-agent works on windows, I haven’t used it on there, but if you wanted to do that, that’d be cool.