配置完ssh链接和config之后还是不能链接远程服务器,并且显示错误
Cloning into 'NewNeucyberAcqGUI-WaveformDisplayModule'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:KEhWZL4iBSdm3ZSjN0vEjen5dRtondxydfuyJjQ1fmA.
Please contact your system administrator.
Add correct host key in /c/Users/lenovo/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /c/Users/lenovo/.ssh/known_hosts:1
Host key for [192.168.1.6]:29418 has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
是远程主机的身份验证信息是否发生了变化
更新host文件即可
使用命令
ssh-keyscan -t rsa <远程主机地址> >> ~/.ssh/known_hosts