已经配置gitee密钥但下载报错问题The authenticity of host ‘gitee.com (180.76.199.13)‘ can‘t be established. ECDSA k
这是SSH主机密钥验证的问题。当你第一次连接到一个Git服务器时,SSH会要求你确认服务器的指纹。
The authenticity of host 'gitee.com (180.76.199.13)' can't be established. ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc. The authenticity of host 'gitee.com (180.76.199.13)' can't be established. ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc. The authenticity of host 'gitee.com (180.76.199.13)' can't be established. ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc. The authenticity of host 'gitee.com (180.76.198.225)' can't be established. ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc. The authenticity of host 'gitee.com (180.76.198.77)' can't be established. ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. applications_camera_sample_communication: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
报错信息如上
这是SSH主机密钥验证的问题。当你第一次连接到一个Git服务器时,SSH会要求你确认服务器的指纹。解决方法如下
自动接受所有主机密钥(推荐用于开发环境)
ssh-keyscan -t ecdsa gitee.com >> ~/.ssh/known_hosts
更多推荐
所有评论(0)