[git]192.168.8.50无法更新代码

1. 无法更新代码

换了一个新的git服务器192.168.8.50导致代码无法更新

  • The authenticity of host ‘[192.168.8.50]:29418 ([192.168.8.50]:29418)’ can’t be established.
  • RSA key fingerprint is 20:93:02:5a:fe:8b:7d:18:f4:48:4b:f7:f4:f1:df:9b.
suhuazhi@lava-PC:~/8.1/op54_int$ repo sync
warn: .repo/manifests: Not replacing locally modified commit-msg hook
Fetching project lavao9832e/platform/external/googletest
warn: external/googletest: Not replacing locally modified commit-msg hook
Fetching project lavao9832e/platform/external/libvncserver
Fetching project lavao9832e/vendor/sprd/platform/packages/apps/SmilPlay
Fetching project lavao9832e/platform/hardware/qcom/wlan
warn: external/libvncserver: Not replacing locally modified commit-msg hook
warn: vendor/sprd/platform/packages/apps/SmilPlay: Not replacing locally modified commit-msg hook
warn: hardware/qcom/wlan: Not replacing locally modified commit-msg hook
The authenticity of host '[192.168.8.50]:29418 ([192.168.8.50]:29418)' can't be established.
RSA key fingerprint is 20:93:02:5a:fe:8b:7d:18:f4:48:4b:f7:f4:f1:df:9b.
Are you sure you want to continue connecting (yes/no)? The authenticity of host '[192.168.8.50]:29418 ([192.168.8.50]:29418)' can't be established.
RSA key fingerprint is 20:93:02:5a:fe:8b:7d:18:f4:48:4b:f7:f4:f1:df:9b.
Are you sure you want to continue connecting (yes/no)? The authenticity of host '[192.168.8.50]:29418 ([192.168.8.50]:29418)' can't be established.
RSA key fingerprint is 20:93:02:5a:fe:8b:7d:18:f4:48:4b:f7:f4:f1:df:9b.
Are you sure you want to continue connecting (yes/no)? The authenticity of host '[192.168.8.50]:29418 ([192.168.8.50]:29418)' can't be established.
RSA key fingerprint is 20:93:02:5a:fe:8b:7d:18:f4:48:4b:f7:f4:f1:df:9b.
Are you sure you want to continue connecting (yes/no)? The authenticity of host '[192.168.8.50]:29418 ([192.168.8.50]:29418)' can't be established.
RSA key fingerprint is 20:93:02:5a:fe:8b:7d:18:f4:48:4b:f7:f4:f1:df:9b.

2. 查看 公钥 cat ~/.ssh/id_rsa.pub

  • 命令行运行: # ssh-keygen -t rsa 一路回车,
  • 产生的密钥,位于~/.ssh/id_rsa,id_rsa.pub
suhuazhi@lava-PC:~/8.1/op54_int$ cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRbBynX8MWrdAWCBQHW1bumnBr9fgrLPJggulAW9jmJWf8lCUxvz1o/Cmct6uqW/BKOkiwNyj/YYuEO953snQESMembHLd9YA8zDzkbn51hUn2FhCO4t4mYRx/Rd7xbumD2ISZknI+pNWW0LjpuXzBFUDVK9bizCT2piN1TXjEurEo2OxGmVs5xt1HGbAk7KbVxMEhhFAGEVd0Xcv2v8xW3oxsO3QZZhVHnmdJ1t0pxuWKfCzEm29FgGTNCEj3Aitbb0Xi2LkPUFIoU5ra44Y7iCN4yFwNM/YhlUm5P9/iWEh2QnNkb9KeBvHJE36YgChBx8SvcW2fGdOtQOy+lK4z suhuazhi@chenxiaoping-PC

将上述的公钥配置到Gerrit中
1

3. 再次repo sync

遇到输入yes/no的时候,键入yes即可,如果卡主不动,ctrl+c,重新repo即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

法迪

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值