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添加公鑰