OS version is Ventura 13.2
I generated an SSH key to authenticate git operations with GitHub according to their guide. Followed the steps:
ssh-keygen -t ed25519 -C "my identifier"(Without passphrase. Saved to
eval "$(ssh-agent -s)"
- Added this to
When testing the connection with
ssh -T [email protected] it is successful, but after rebooting, closing the terminal, restarting vscode, etc, I have to manually re-add the SSH key using
ssh-add again; otherwise I'm met with the error:
[email protected]: Permission denied (publickey).
I expect the key to be added to the SSH agent automatically so that I may perform git operations without having to manually add the key to the SSH agent every time. It used to work before on my old MBP. How can I solve this?