Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'
Offending key for IP in /root/.ssh/known_hosts:5
Matching host key in /root/.ssh/known_hosts:9
Are you sure you want to continue connecting (yes/no)?
You can add the RSA host key for github.com
to your server's known_hosts
file to avoid seeing this warning every time you run git pull
. Here's how to do it:
"解决 `Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'`"继续阅读