添加了ssh互信,但一直提示如下错误。
Failed to connect to repository : Command "git ls-remote -h [email protected]:xxxxx HEAD" returned status code 128:
stdout:
stderr: Host key verification failed.
fatal: The remote end hung up unexpectedly
# vi/etc/ssh/ssh_config
最后有两行是
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
注释掉。
时间: 2024-12-23 04:59:35