使用以下两个命令清理缓存进行ssh清除:
$ssh-keygen -f "/home/leoxae/.ssh/known_hosts" -R xxx.xxx.xxx.xxx(指定IP)
$ssh-keygen -f "/home/leoxae/.ssh/known_hosts" -R git.xxx.xx(域名)
若使用windows,则清除所在ssh在C:/Users/Administrator
$ssh-keygen -f "C:/Users/Administrator/.ssh/known_hosts" -R xxx.xxx.xxx.xxx(指定IP)
$ssh-keygen -f "C:/Users/Administrator/.ssh/known_hosts" -R git.xxx.xx
Talk is cheap. Show me the code