<?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 2.4.0 Sandbox: documentation typo regarding SSH access in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106800#M21632</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2882/michaelhaeusler.html" nodeid="2882"&gt;@Michael Häusler&lt;/A&gt; the splash page has been changed to identify localhost as 127.0.0.1 now as well, on new boot all machines will fetch the new splash page and port 2222 proper will be displayed in both cases ( provided they have access to github.com. &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/122/lmartin.html" nodeid="122"&gt;@Lester Martin&lt;/A&gt; the way port forwarding works is that it exposes port 22 of the sandbox machine to the outside network of your PC via port 2222. &lt;/P&gt;&lt;P&gt;From your command history I see that you seem to already be inside the sandbox virtual machine ([root@sandbox ~]) and therefore it's working as designed allowing you to ssh to itself from inside at port 22, but not allowing you to ssh to itself at port 2222 since that functionality is offered via Virtualbox NAT. &lt;/P&gt;&lt;P&gt;Sorry for the confusion caused by the web script, it should be cleared now. &lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 16:56:02 GMT</pubDate>
    <dc:creator>glupu</dc:creator>
    <dc:date>2016-03-03T16:56:02Z</dc:date>
    <item>
      <title>HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106792#M21624</link>
      <description>&lt;P&gt;The HDP 2.4.0 Sandbox has instructions regarding SSH access on the welcome page:&lt;/P&gt;&lt;P&gt;localhost:8888 -&amp;gt; get started -&amp;gt; advanced options&lt;/P&gt;&lt;P&gt;The SSH port is documented to be 22. But at least in the VirtualBox version of sandbox, SSH is actually forwarded to port 2222.&lt;/P&gt;&lt;P&gt;Can the welcome page be fixed?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:06:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106792#M21624</guid>
      <dc:creator>haeusler</dc:creator>
      <dc:date>2022-09-16T10:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106793#M21625</link>
      <description>&lt;P&gt;I will tag the documentation team. Thanks for the catch! &lt;A rel="user" href="https://community.cloudera.com/users/2882/michaelhaeusler.html" nodeid="2882"&gt;@Michael Häusler&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 01:09:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106793#M21625</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-03T01:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106794#M21626</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69/rcoss.html" nodeid="69"&gt;@Rafael Coss&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/527/rmolina.html" nodeid="527"&gt;@rmolina&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/122/lmartin.html" nodeid="122"&gt;@Lester Martin&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 01:11:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106794#M21626</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-03T01:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106795#M21627</link>
      <description>&lt;P&gt;Interesting, my copy (I'm also using VirtualBox) shows 2222 as I'm pasting below from the 8888 splash page.  It doesn't make it painfully obvious you should type "ssh root@127.0.0.1 -p 2222", but it does look correct.  Can you paste a screenshot &lt;A rel="user" href="https://community.cloudera.com/users/2882/michaelhaeusler.html" nodeid="2882"&gt;@Michael Häusler&lt;/A&gt; as well as the exact URL you used to pull down the Sandbox VM?&lt;/P&gt;&lt;P&gt;Secure Shell (SSH) Client
&lt;/P&gt;&lt;P&gt;With an SSH client of your choice use the following credentials: 
IP: 127.0.0.1
port: 2222
username: root
password: hadoop&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 02:10:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106795#M21627</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2016-03-03T02:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106796#M21628</link>
      <description>&lt;P&gt;It seems to depend on whether you enter 127.0.0.1:8888 or localhost:8888 in your browser:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;127.0.0.1:8888 shows port 2222&lt;/LI&gt;&lt;LI&gt;localhost:8888 shows port 22&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Screenshot attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2540-localhost-vs-127-0-0-1.jpg" style="width: 1680px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23495iEF428AAFD03D687F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2540-localhost-vs-127-0-0-1.jpg" alt="2540-localhost-vs-127-0-0-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:49:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106796#M21628</guid>
      <dc:creator>haeusler</dc:creator>
      <dc:date>2019-08-19T11:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106797#M21629</link>
      <description>&lt;P&gt;amazing catch!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 02:35:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106797#M21629</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-03T02:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106798#M21630</link>
      <description>&lt;P&gt;
 I think I figured it out.  I was able to verify the two different ports (2222 and 22) are displayed based on it you hit 127.0.0.1:8888 or localhost:8888 in your browser as 
 &lt;A rel="user" href="https://community.cloudera.com/users/2882/michaelhaeusler.html" nodeid="2882" target="_blank"&gt;@Michael Häusler&lt;/A&gt;'s side-by-side screenshot shows.  I double-checked the port forwarding in VirtualBox as shown below. &lt;/P&gt;&lt;P&gt;
 &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2555-portforwarding.jpg" style="width: 1420px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23494i9CD687A5F6726945/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2555-portforwarding.jpg" alt="2555-portforwarding.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;
 No matter which way you hit it via the browser, we are always going to port 8888 on the Sandbox itself.  It seems there is some logic in the webapp that you hit that leverages which address you used to get to it.  &lt;STRONG&gt;Thankfully, the on-screen instructions drive you to use &lt;A href="http://127.0.0.1:8888/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8888/&lt;/A&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;
 If you look close, you'll see that the all the hostnames on that splash screen change between 127.0.0.1 and localhost based on the original URL you use.   I believe the reason the webapp is doing this is based on if you were actually running a windowing system on the Sandbox itself.  We are basically just SSH'ing in and aren't using a windowing interface.&lt;/P&gt;&lt;P&gt;
 My hunch then was that depending on where you are accessing this makes a difference and I did validate that by some SSH testing.  If you are coming in from your host OS then you can only SSH over port 2222, but it doesn't matter if you say localhost or 127.0.0.1.&lt;/P&gt;&lt;PRE&gt;HW10653-2:~ lmartin$ ssh root@127.0.0.1 -p 22
ssh: connect to host 127.0.0.1 port 22: Connection refused
HW10653-2:~ lmartin$ ssh root@localhost -p 22
ssh: connect to host localhost port 22: Connection refused
HW10653-2:~ lmartin$ ssh root@localhost -p 2222
root@localhost's password:
Last login: Wed Mar  2 23:18:00 2016 from 10.0.2.2
[root@sandbox ~]# exit
logout
Connection to localhost closed.
HW10653-2:~ lmartin$ ssh root@127.0.0.1 -p 2222
root@127.0.0.1's password:
Last login: Wed Mar  2 23:19:13 2016 from 10.0.2.2
[root@sandbox ~]# &lt;/PRE&gt;&lt;P&gt;Conversely, once you "in" the Sandbox (in the following case it doesn't matter if you SSH'd in or if you were logged in via a windowing manager) you can only use port 22; again, it doesn't matter how you refer to the hostname.&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# ssh root@127.0.0.1 -p 22
Last login: Wed Mar  2 23:26:13 2016 from 10.0.2.2
[root@sandbox ~]# ssh root@localhost -p 22
Last login: Wed Mar  2 23:27:10 2016 from 127.0.0.1
[root@sandbox ~]# ssh root@localhost -p 2222
ssh: connect to host localhost port 2222: Connection refused
[root@sandbox ~]# ssh root@127.0.0.1 -p 2222
ssh: connect to host 127.0.0.1 port 2222: Connection refused
[root@sandbox ~]#&lt;/PRE&gt;&lt;P&gt;I'd have to put my networking cap on tighter than it is right now to fully explain why this is the case, but with these limitations in play of port 22 and 222 depending on if you are currently logged into the Host OS or the Guest OS, &lt;STRONG&gt;we really do need the splash screen to be dynamic like it is now&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;That said, it is easy to see why one would get confused if they got creative and just started with &lt;A href="http://localhost:8888" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8888&lt;/A&gt; instead of &lt;A href="http://127.0.0.1:8888" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8888&lt;/A&gt; as the instructions said.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106798#M21630</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2019-08-19T11:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106799#M21631</link>
      <description>&lt;P&gt;Based on my findings, I'm not sure we have anything to change on the documentation front.  We could probably build something in the webapp itself that creates that splash screen to provide some more details (or an error?) if you come in as &lt;A href="http://localhost:8888" target="_blank"&gt;http://localhost:8888&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 07:35:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106799#M21631</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2016-03-03T07:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106800#M21632</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2882/michaelhaeusler.html" nodeid="2882"&gt;@Michael Häusler&lt;/A&gt; the splash page has been changed to identify localhost as 127.0.0.1 now as well, on new boot all machines will fetch the new splash page and port 2222 proper will be displayed in both cases ( provided they have access to github.com. &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/122/lmartin.html" nodeid="122"&gt;@Lester Martin&lt;/A&gt; the way port forwarding works is that it exposes port 22 of the sandbox machine to the outside network of your PC via port 2222. &lt;/P&gt;&lt;P&gt;From your command history I see that you seem to already be inside the sandbox virtual machine ([root@sandbox ~]) and therefore it's working as designed allowing you to ssh to itself from inside at port 22, but not allowing you to ssh to itself at port 2222 since that functionality is offered via Virtualbox NAT. &lt;/P&gt;&lt;P&gt;Sorry for the confusion caused by the web script, it should be cleared now. &lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:56:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106800#M21632</guid>
      <dc:creator>glupu</dc:creator>
      <dc:date>2016-03-03T16:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106801#M21633</link>
      <description>&lt;P&gt;Thanks for the quick fix &lt;A rel="user" href="https://community.cloudera.com/users/619/glupu.html" nodeid="619"&gt;@glupu&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:52:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106801#M21633</guid>
      <dc:creator>haeusler</dc:creator>
      <dc:date>2016-03-03T17:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106802#M21634</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2882/michaelhaeusler.html" nodeid="2882"&gt;@Michael Häusler&lt;/A&gt; no problem, thanks for notifying us. &lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:05:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106802#M21634</guid>
      <dc:creator>glupu</dc:creator>
      <dc:date>2016-03-03T18:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.0 Sandbox: documentation typo regarding SSH access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106803#M21635</link>
      <description>&lt;P&gt;Can someone please help me with the below error while moving a file from local drive to hdp?&lt;/P&gt;&lt;P&gt;[root@sandbox-hdp ~]# ssh root@127.0.0.1 -p 22&lt;/P&gt;&lt;P&gt;The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.&lt;/P&gt;&lt;P&gt;RSA key fingerprint is 9c:3a:83:80:2c:d5:1f:a9:41:48:68:96:4d:0f:bb:ed.&lt;/P&gt;&lt;P&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;/P&gt;&lt;P&gt;Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.&lt;/P&gt;&lt;P&gt;root@127.0.0.1's password: &lt;/P&gt;&lt;P&gt;Last login: Fri Dec 15 17:45:44 2017 from 127.0.0.1&lt;/P&gt;&lt;P&gt;[root@sandbox-hdp ~]# scp -P 22 /Users/me/test/Input/movies_initial.csv.gz root@sandbox-hdp.hortonworks.com:root/Input&lt;/P&gt;&lt;P&gt;root@sandbox-hdp.hortonworks.com's password: &lt;/P&gt;&lt;P&gt;/Users/me/test/Input/movies_initial.csv.gz: No such file or directory&lt;/P&gt;,&lt;P&gt;I am facing the below error while moving a file from local directory(Mac) to Hortonworks. Can someone please help?&lt;/P&gt;&lt;P&gt;[root@sandbox-hdp ~]# ssh root@127.0.0.1 -p 22&lt;/P&gt;&lt;P&gt;The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.&lt;/P&gt;&lt;P&gt;RSA key fingerprint is 9c:3a:83:80:2c:d5:1f:a9:41:48:68:96:4d:0f:bb:ed.&lt;/P&gt;&lt;P&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;/P&gt;&lt;P&gt;Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.&lt;/P&gt;&lt;P&gt;root@127.0.0.1's password: &lt;/P&gt;&lt;P&gt;Last login: Fri Dec 15 17:45:44 2017 from 127.0.0.1&lt;/P&gt;&lt;P&gt;[root@sandbox-hdp ~]# scp -P 22 /Users/me/Hadoop/Input/movies_initial.csv.gz root@sandbox-hdp.hortonworks.com:root/Input&lt;/P&gt;&lt;P&gt;root@sandbox-hdp.hortonworks.com's password: &lt;/P&gt;&lt;P&gt;/Users/me/Hadoop/Input/movies_initial.csv.gz: No such file or directory&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:24:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-0-Sandbox-documentation-typo-regarding-SSH-access/m-p/106803#M21635</guid>
      <dc:creator>vigneshwaransun</dc:creator>
      <dc:date>2018-02-21T21:24:40Z</dc:date>
    </item>
  </channel>
</rss>

