More than a question this is a sharing information post.
If you pull private repos via SSH, you should create an id_ecdsa because Xcode does not accept Ed25519 key, instead since github does not accept RSA-SHA1 anymore since yesterday.
https://github.blog/2021-09-01-improving-git-protocol-security-github/
To generate it use: ssh-keygen -t ecdsa -C "[email protected]"
You can follow the next steps of config from here: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent
These are end to end steps for fixing this problem:
Steps:
ssh-keygen -t ecdsa -C "[email protected]" (Same as what OP said)pbcopy < ~/.ssh/id_ecdsa.pubid_ecdsa. Make sure you select the private key, not the public.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