<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HDP Sandbox 2.6.5 ssh connectionHost key verification failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278851#M208280</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18902"&gt;@erkansirin78&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems you have an issue with your &lt;STRONG&gt;known_hosts&lt;/STRONG&gt; file, you need to remove the third(&lt;STRONG&gt;3&lt;/STRONG&gt;) line in &lt;STRONG&gt;known_hosts&lt;/STRONG&gt; file &lt;FONT color="#FF6600"&gt;/c/Users/user/.ssh/known_hosts:3&lt;/FONT&gt;&amp;nbsp; Most likely an SSH altered the encryption keys due to a possible security hole. You can then purge that specific line from your known_hosts file:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;# sed -i 377d ~/.ssh/known_hosts &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;but it seems your known_hosts file is mounted on the C drive on&amp;nbsp;&lt;STRONG&gt;/c/Users/user/ &lt;/STRONG&gt;windows 10!!&lt;/P&gt;&lt;P&gt;You can also remove StrictHostKey checking in your ssh configuration file, typically stored at &lt;STRONG&gt;~/.ssh/config.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;An example Host block is provided below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Host 101&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; HostName yourip|hostname&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; User your_Userid&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; IdentityFile /path/to/keyfile&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Port 22&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &lt;FONT color="#FF6600"&gt;&amp;nbsp;StrictHostKeyChecking no&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The specifically added line is the last one &lt;STRONG&gt;StrictHostKeyChecking no&lt;/STRONG&gt; which does just that. Please do that and revert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 19:24:11 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-10-04T19:24:11Z</dc:date>
    <item>
      <title>HDP Sandbox 2.6.5 ssh connectionHost key verification failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278835#M208270</link>
      <description>&lt;P&gt;I have newly imported HDP 2.6.5 Sandbox after removing the 2.6.4,&amp;nbsp; and tried to connect via ssh. My host machine Windows 10. My command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;ssh root@sandbox-hdp.hortonworks.com -p 2222&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:8F0VOvcJIA2FD3Ld90kv5FiD3270onl/+uDeDBNffQ0.
Please contact your system administrator.
Add correct host key in /c/Users/user/.ssh/known_hosts to get rid of this message.
Offending RSA key in /c/Users/user/.ssh/known_hosts:3
RSA host key for [sandbox-hdp.hortonworks.com]:2222 has changed and you have requested strict checking.
Host key verification failed.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 21:31:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278835#M208270</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2019-10-04T21:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6.5 ssh connectionHost key verification failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278851#M208280</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18902"&gt;@erkansirin78&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems you have an issue with your &lt;STRONG&gt;known_hosts&lt;/STRONG&gt; file, you need to remove the third(&lt;STRONG&gt;3&lt;/STRONG&gt;) line in &lt;STRONG&gt;known_hosts&lt;/STRONG&gt; file &lt;FONT color="#FF6600"&gt;/c/Users/user/.ssh/known_hosts:3&lt;/FONT&gt;&amp;nbsp; Most likely an SSH altered the encryption keys due to a possible security hole. You can then purge that specific line from your known_hosts file:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;# sed -i 377d ~/.ssh/known_hosts &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;but it seems your known_hosts file is mounted on the C drive on&amp;nbsp;&lt;STRONG&gt;/c/Users/user/ &lt;/STRONG&gt;windows 10!!&lt;/P&gt;&lt;P&gt;You can also remove StrictHostKey checking in your ssh configuration file, typically stored at &lt;STRONG&gt;~/.ssh/config.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;An example Host block is provided below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Host 101&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; HostName yourip|hostname&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; User your_Userid&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; IdentityFile /path/to/keyfile&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Port 22&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &lt;FONT color="#FF6600"&gt;&amp;nbsp;StrictHostKeyChecking no&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The specifically added line is the last one &lt;STRONG&gt;StrictHostKeyChecking no&lt;/STRONG&gt; which does just that. Please do that and revert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 19:24:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278851#M208280</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-10-04T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6.5 ssh connectionHost key verification failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278852#M208281</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;. I have just deleted the line specified in error message in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;/c/Users/user/.ssh/known_hosts&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;It worked. I had used HDP 2.6.4 before this one. I think there was already a key for the same hostname, once delete it i was able to connect via ssh. This time added new key that belongs to HDP 2.6.5 Sandbox.&amp;nbsp; In this case, Should I accept your solution? Because you offer additional solutions that I have not verified.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 03:42:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278852#M208281</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2019-10-05T03:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6.5 ssh connectionHost key verification failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278882#M208298</link>
      <description />
      <pubDate>Sat, 05 Oct 2019 11:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278882#M208298</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-10-05T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6.5 ssh connectionHost key verification failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278883#M208299</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18902"&gt;@erkansirin78&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great !! it worked out for you, If you found this answer addressed your question, please take a moment to log in and click the thumbs up button.&lt;/P&gt;&lt;P&gt;That would be a great help to Cloudera Community to find the solution quickly for these kinds of errors and&amp;nbsp;mark it as a solution&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 11:24:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP-Sandbox-2-6-5-ssh-connectionHost-key-verification-failed/m-p/278883#M208299</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-10-05T11:24:40Z</dc:date>
    </item>
  </channel>
</rss>

