一 gitlab 添加sshkey
終端生成key
1 ssh-keygen -t rsa -C "yourmail@xx.com"//github郵箱地址
密碼驗證
成功標志

2 ssh-add id_rsa.pub //添加到known_hosts
3 cat id_rsa.puh //獲得key 復制key
4 把key 黏貼到gitlab.com sshkey
二 添加第二個key
1 ssh-keygen -t rsa -C "yourmail@xx.com" -f id_rsa_github
2 一的步驟在做一次
