码迷,mamicode.com
首页 > 其他好文 > 详细

0010gitee添加公钥

时间:2018-07-26 18:30:20      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:dha   sof   ipo   mil   key   family   wds   ros   配置   

1、主机执行
ssh-keygen -t rsa -C "123456@qq.com"
cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7uGzyZH02GaKXIryVheWQ4+Z7ynpLO/LD69CessZrizl5MDCg+/l12v61VG7OzbIzFapqFxtFT1tiGT85PlyLvayv1+OTj6rDn5OQ1jpXimLAlPV1rkpC7N+uY40NRLjCBk6qtxGZxwO5VGII9w6csYQW44tu03zm8ipOo+3tNR6qTj0IJN89D7XlI0IB9gGCN4DIGOf9zjFPo3w3F6rWzP3hjrpxB8g0UTZUofAadhaDhrsUePgMLL/nQ327Lu24S0WDs/dua7IAk587Z3N84aTztb9Py5IsOEdy4dsdQg8MXqH/aWYz3mcNhfO2Y5CN782dEo7dPw9S1P3V4J7l 123456@qq.com

ssh -T git@gitee.com

2、gitee配置ssh公钥
key : 123456@qq.com
公钥:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7uGzyZH02GaKXIryVheWQ4+Z7ynpLO/LD69CessZrizl5MDCg+/l12v61VG7OzbIzFapqFxtFT1tiGT85PlyLvayv1+OTj6rDn5OQ1jpXimLAlPV1rkpC7N+uY40NRLjCBk6qtxGZxwO5VGII9w6csYQW44tu03zm8ipOo+3tNR6qTj0IJN89D7XlI0IB9gGCN4DIGOf9zjFPo3w3F6rWzP3hjrpxB8g0UTZUofAadhaDhrsUePgMLL/nQ327Lu24S0WDs/dua7IAk587Z3N84aTztb9Py5IsOEdy4dsdQg8MXqH/aWYz3mcNhfO2Y5CN782dEo7dPw9S1P3V4J7l 123456@qq.com

0010gitee添加公钥

标签:dha   sof   ipo   mil   key   family   wds   ros   配置   

原文地址:https://www.cnblogs.com/linux777/p/9372591.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!