You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 SSH keys that I use for my git repo, id_ed25519 and id_ed25519_sk (which is a yubikey ssh key with PIN/etc). When I try and run jj git push I get an error and the process exits. I would expect it to try the next key in the list
Steps to Reproduce the Problem
Have id_ed25519 and id_ed25519_sk in your ~/.ssh/ folder
Run jj git push -c @-
Expected Behavior
The private key files are attempted in order until one works or none of them do
In my case, the id_ed25519 file is not passworded and requires no additional authentication
Actual Behavior
The id_ed25519_sk file is attempted first, which causes the following error:
Error: failed to authenticate SSH session: Unable to extract public key from private key file: Wrong passphrase or invalid/unrecognized private key file format; class=Ssh (23)
I would also be happy if it were possible to configure the SSH key to use, but I can't seem to find that in any documentation/online so am assuming that it's not possible, please feel free to close this issue if it is possible and I've missed something!
Specifications
Platform: macOS
Version: 0.23.0
The text was updated successfully, but these errors were encountered:
Description
I have 2 SSH keys that I use for my git repo,
id_ed25519
andid_ed25519_sk
(which is a yubikey ssh key with PIN/etc). When I try and runjj git push
I get an error and the process exits. I would expect it to try the next key in the listSteps to Reproduce the Problem
id_ed25519
andid_ed25519_sk
in your~/.ssh/
folderjj git push -c @-
Expected Behavior
id_ed25519
file is not passworded and requires no additional authenticationActual Behavior
id_ed25519_sk
file is attempted first, which causes the following error:I would also be happy if it were possible to configure the SSH key to use, but I can't seem to find that in any documentation/online so am assuming that it's not possible, please feel free to close this issue if it is possible and I've missed something!
Specifications
The text was updated successfully, but these errors were encountered: