# 使用 ssh-kengen 生成多个密钥,添加进gitee或者github。 # cd ~/.ssh # touch config 文件,内容如下. - gitee Host gitee.com Hostname gitee.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa_gitee
- github Host github.com Hostname github.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa_github
|