<?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: Cannot scp a file from local machine to Azure Sandbox in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143932#M106516</link>
    <description>&lt;P&gt;OK, I finally got it to work! The instruction in Step 1.4 in Section 2 of the "&lt;A href="http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/"&gt;Learning the Ropes &lt;/A&gt;..." tutorial (Sandbox in Microsoft Azure) is wrong, in 3 ways:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The scp port for Azure is 22, not 2222&lt;/LI&gt;&lt;LI&gt;You must scp into Azure as root; therefore you must reset the root password in your Sandbox first using 'sudo passwd root'&lt;/LI&gt;&lt;LI&gt;Your home directory is not just “RemoteUser” from root’s perspective, but /home/RemoterUser'&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Sun, 11 Sep 2016 20:51:30 GMT</pubDate>
    <dc:creator>sdimant</dc:creator>
    <dc:date>2016-09-11T20:51:30Z</dc:date>
    <item>
      <title>Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143927#M106511</link>
      <description>&lt;P&gt;I am able to ssh into my Sandbox on Azure but can't send a file via scp because I'm challenged for a localhost password which I do not know. Assuming my Azure username is myName, this is the command I'm running:&lt;/P&gt;&lt;P&gt;scp -P 22 ~/Downloads/Somefile.txt MyName@localhost:/MyName&lt;/P&gt;&lt;P&gt;The console returns with:&lt;/P&gt;&lt;P&gt;MyName@locahost's password:&lt;/P&gt;&lt;P&gt;I've tried my Azure password, my Mac's password, the ENTER key, and "hadoop". Nothing works. I tried both port 22 and port 2222. Please advise. I'd like to move on to some real tutorials but I can't even copy a file to my Sandbox! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I get "Permission denied, please try again" and after 3 attempts "Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)" and then "lost connection"&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:41:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143927#M106511</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2016-09-09T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143928#M106512</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/13013/sdimant.html"&gt;Suzanne Dimant&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/13013/sdimant.html"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is your sandbox root account with the password you set initially when you accessed the sandbox.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 10:14:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143928#M106512</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-09T10:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143929#M106513</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/3486/cstanca.html" nodeid="3486"&gt;@Constantin Stanca&lt;/A&gt;, that worked!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 19:18:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143929#M106513</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2016-09-09T19:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143930#M106514</link>
      <description>&lt;P&gt;I'm sorry, &lt;A rel="user" href="https://community.cloudera.com/users/3486/cstanca.html" nodeid="3486"&gt;@Constantin Stanca&lt;/A&gt; ... I think I accepted your answer prematurely. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I got past the password challenge, but then scp couldn't find my file so I opened a separate question "Aligning Home Directories between Sandbox and local Mac?" which is still unresolved. After some research, I am pretty sure the problem was that I running scp from inside my ssh session (trying to send a file from local to remote) which doesn't really make sense. When I run scp from a separate terminal window, I can't get past the password challenge.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Also, the password I used to get past the password challenge (when I wrote back to you) was the one I used to set up my Sandbox in Azure. But I just realized that's not actually a root password, it's just a user account password. I just confirmed that by trying to "su" from within my ssh session and failing. I also tried ssh'g into my Sandbox as root and failed.&lt;/P&gt;&lt;P&gt;How do I find and/or recover my Sandbox root password?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 20:16:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143930#M106514</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2016-09-10T20:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143931#M106515</link>
      <description>&lt;P&gt;Update: I was able to make a &lt;EM&gt;little&lt;/EM&gt; progress by resetting my root password on my Sandbox (using 'sudo passwd root') and then scp'g in as root with that password. The console response makes it seems as if a file was actually transferred but I cannot find it anywhere on my Sandbox (even using 'find /*.txt'). In that case the console output was:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;root@xx.xx.xx.xx:'s password:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Somefile.txt 100% 133KB 133.4KB/s 00:00&lt;/P&gt;&lt;P&gt;When I try port 2222 (as per the tutorial), I just time-out with the response below (I read in other posts that people are recommending port 22 for Azure):&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;ssh: connect to host xx.xx.xx.xx port 2222: Operation timed out&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;lost connection&lt;/P&gt;&lt;P&gt;When I try to scp in as root from the web client, I'm back to ground zero:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;root@xx.xx.xx.xx:'s password: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;/Path/Somefile.txt: No such file or directory&lt;/P&gt;&lt;P&gt;So confused ... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 23:14:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143931#M106515</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2016-09-10T23:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143932#M106516</link>
      <description>&lt;P&gt;OK, I finally got it to work! The instruction in Step 1.4 in Section 2 of the "&lt;A href="http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/"&gt;Learning the Ropes &lt;/A&gt;..." tutorial (Sandbox in Microsoft Azure) is wrong, in 3 ways:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The scp port for Azure is 22, not 2222&lt;/LI&gt;&lt;LI&gt;You must scp into Azure as root; therefore you must reset the root password in your Sandbox first using 'sudo passwd root'&lt;/LI&gt;&lt;LI&gt;Your home directory is not just “RemoteUser” from root’s perspective, but /home/RemoterUser'&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sun, 11 Sep 2016 20:51:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143932#M106516</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2016-09-11T20:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143933#M106517</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/13013/sdimant.html"&gt;@Suzanne Dimant&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good for you! I guess that if you look retrospectively, I responded to most of your question as it was stated.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2016 22:54:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143933#M106517</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-11T22:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot scp a file from local machine to Azure Sandbox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143934#M106518</link>
      <description>&lt;P&gt;I agree. It was a HUGE hint. I had a few other things to think through but knowing I had to scp in as root was pivotal. Thank you! BTW the tutorial needs a little correction/elaboration on that step; not sure exactly who that needs to be communicated to?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 19:26:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-scp-a-file-from-local-machine-to-Azure-Sandbox/m-p/143934#M106518</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2016-09-12T19:26:30Z</dc:date>
    </item>
  </channel>
</rss>

