Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

Mac OS X Remove SSH Know Host

Posted on 2011-02-09 19:34  勇敢的鸵鸟  阅读(575)  评论(0编辑  收藏  举报
Today, after upgrade and re-jailbroke my iphone, when I try to ssh to it, I got some error message like this: [bash] The fingerprint for the RSA key sent by the remote host is 5c:9b:16:56:a6:cd:11:10:3a:cd:1b:a2:91:cd:e5:1c. Please contact your system administrator. <strong>Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.</strong> Offending key in /Users/user/.ssh/known_hosts:1 RSA host key for server1.example.com has changed and you have requested strict checking. Host key verification failed. [/bash] How to fix it? Just remove SSH know host with [bash] $ ssh-keygen -R 192.168.1.4 [/bash]