参考:Managing deploy keys - GitHub Docs
很久注册过几个github账号,但是添加sshkey的时候,报错: Key is already in use
github文档也有过这样的描述
GitHub - Key is already in use
When attempting to add a deployment key to a GitHub repository, such as in the case of needing access for a submodule, or fetching remote dependencies within your build pipeline, you may run into the following error:
Key is already in use
This is because your DeployHQ project's public key has already been added to GitHub, most likely as the deployment key for the main repository you're trying to deploy.
Github does have a restriction that only allows a deployment key to be used on a single repository, but they offer a solution whereby you can create a machine (non-human) user and assign