<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Scipt on Amit Agarwal Linux Blog</title>
    <link>/tags/scipt/</link>
    <description>Recent content in Scipt on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 04 Apr 2016 01:05:25 +0000</lastBuildDate>
    
	<atom:link href="/tags/scipt/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>ssh – remove offending key.</title>
      <link>/2016/04/04/ssh-remove-offending-key/</link>
      <pubDate>Mon, 04 Apr 2016 01:05:25 +0000</pubDate>
      
      <guid>/2016/04/04/ssh-remove-offending-key/</guid>
      <description>&lt;p&gt;Whenever a system/server is re-installed or the host key changed for any reason, you would have seen the “host key verification failed”. And as usual you would have to go to known_hosts file and delete the offending key. I will show you 2 simple ways to do this here.&lt;/p&gt;
&lt;p&gt;The output that you get in such scenario is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Offending ECDSA key in ~/.ssh/known_hosts:4&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;First, you can use sed to directly delete the offending key with a command like this :&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
