I created the ssh key, added it on gitlab, and followed the instructions. When I do a push from git bash everything works fine, it keeps annoying me to enter the passphrase every time. But when I try to push from vsCode it doesn't ask me for the passphrase and throws an error
Git: [email protected]: Permission denied (publickey,keyboard-interactive).
Is there any way to fix this? And bonus help: how can I stop it from asking me every time for the passphrase.
I know, there are similar questions around for my bonus help, but I couldn't find anything about the vsCode issue. I am using windows 11.
Sorry if the title is misleading.
You can save passphrase in the Keychain store.
For mac
ssh-add --apple-use-keychain ~/.ssh/[private-key]
older than 12.0 Monterey
ssh-add -K ~/.ssh/[your-private-key]
Here is similar question .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With