github在push的时候会出现’Warning: the ECDSA host key for ‘github.com’ differs from the key for the IP address ‘xx.xx.xx.xxx’ Offending key for IP’的问题. 每次都要手动输入yes很麻烦.
可以刷新本地的key来解决:
ssh-keygen -R xx.xx.xx.xxx
github在push的时候会出现’Warning: the ECDSA host key for ‘github.com’ differs from the key for the IP address ‘xx.xx.xx.xxx’ Offending key for IP’的问题. 每次都要手动输入yes很麻烦.
可以刷新本地的key来解决:
ssh-keygen -R xx.xx.xx.xxx