一、描述问题:
由于自己有 github 账号,公司也有一个账号,而且私钥是存储在 ~/.ssh/.ras_pub
内
二、解决方式:
在生成 ssh key 时,ssh-keygen -t rsa -C "your_email"
your_email 是的你的 git 邮箱。
终端会提示是否Enter file in whick to save the key
填写 ras_pub_github
即可,随便什么名字,只要已经生成文件不重名即可;
最终结果是:
一、描述问题:
由于自己有 github 账号,公司也有一个账号,而且私钥是存储在 ~/.ssh/.ras_pub
内
二、解决方式:
在生成 ssh key 时,ssh-keygen -t rsa -C "your_email"
your_email 是的你的 git 邮箱。
终端会提示是否Enter file in whick to save the key
填写 ras_pub_github
即可,随便什么名字,只要已经生成文件不重名即可;
最终结果是: