origin
Today I cloned my notes on github to a new computer, cloned with http connection, and then asked me to enter the account password. After inputting, I reported a prompt "remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.", saying that password verification will no longer be supported on August 13, 2021, so you can only use ssh key to connect to your own project on github, here is the ssh configuration for mac.
configure ssh key
Create a new ssh key
ssh-keygen -t rsa -b 4096 -C "[email protected]"
After entering the above string of commands in the terminal, just press Enter.
view ssh key
After the generation is successful, check the ssh key
cd .ssh
cat id_rsa.pub
Enter the above two commands to see the generated ssh key
Configure the generated ssh key into github
\