git 生成公钥-CSDN博客
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
1、通过命令 ssh-keygen
生成 SSH Key
ssh-keygen -t ed25519 -C "Gitee SSH Key"
三次回车
2、查看生成的 SSH 公钥和私钥
ls ~/.ssh/
3、把公钥设置到git
id_ed25519.pub
4、测试
ssh -T git@gitee.com
成功
开始你的git clone XXXXX