git 配置多个SSH-Key
2018-12-06 本文已影响0人
Emma_Sun
ssh-keygen -t rsa -C "xxx@xxx.com” -f ~/.ssh/xxx-rsa
cd ~/.ssh
ls
ssh-add ~/.ssh/xxx-rsa
cat gitlab-rsa.pub
ssh-keygen -t rsa -C "xxx@xxx.com” -f ~/.ssh/xxx-rsa
cd ~/.ssh
ls
ssh-add ~/.ssh/xxx-rsa
cat gitlab-rsa.pub