git 添加 key 发表于 2017-07-13 更新于 2024-09-25 12$ ssh-add ~/.ssh/id_rsa.pubCould not open a connection to your authentication agent. You might need to start ssh-agent before you run the ssh-add command: 12eval `ssh-agent -s`ssh-add ~/.ssh/id_rsa 12ssh -T git@github.comssh -Tv git@github.com github-testing-your-ssh-connection