0010gitee添加公钥
Posted linux777
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了0010gitee添加公钥相关的知识,希望对你有一定的参考价值。
1、主机执行
ssh-keygen -t rsa -C "[email protected]"
cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7uGzyZH02GaKXIryVheWQ4+Z7ynpLO/LD69CessZrizl5MDCg+/l12v61VG7OzbIzFapqFxtFT1tiGT85PlyLvayv1+OTj6rDn5OQ1jpXimLAlPV1rkpC7N+uY40NRLjCBk6qtxGZxwO5VGII9w6csYQW44tu03zm8ipOo+3tNR6qTj0IJN89D7XlI0IB9gGCN4DIGOf9zjFPo3w3F6rWzP3hjrpxB8g0UTZUofAadhaDhrsUePgMLL/nQ327Lu24S0WDs/dua7IAk587Z3N84aTztb9Py5IsOEdy4dsdQg8MXqH/aWYz3mcNhfO2Y5CN782dEo7dPw9S1P3V4J7l [email protected]
ssh -T [email protected]
2、gitee配置ssh公钥
key : [email protected]
公钥:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7uGzyZH02GaKXIryVheWQ4+Z7ynpLO/LD69CessZrizl5MDCg+/l12v61VG7OzbIzFapqFxtFT1tiGT85PlyLvayv1+OTj6rDn5OQ1jpXimLAlPV1rkpC7N+uY40NRLjCBk6qtxGZxwO5VGII9w6csYQW44tu03zm8ipOo+3tNR6qTj0IJN89D7XlI0IB9gGCN4DIGOf9zjFPo3w3F6rWzP3hjrpxB8g0UTZUofAadhaDhrsUePgMLL/nQ327Lu24S0WDs/dua7IAk587Z3N84aTztb9Py5IsOEdy4dsdQg8MXqH/aWYz3mcNhfO2Y5CN782dEo7dPw9S1P3V4J7l [email protected]
以上是关于0010gitee添加公钥的主要内容,如果未能解决你的问题,请参考以下文章