Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 06-28-2016 01:19 PM - edited 08-18-2019 04:45 AM
Hello @slachterman
Greetings!!!
I am trying to copy a file from my local windows machine to sandbox using below command and not seeing the file in sandbox root directory after executing command.
scp -P C:/Users/rnkumashi/Downloads/sample.txt root@localhost:/root
1.I am connected to sandbox using Vm ware.
2.After executing the command i am trying to list the content in sandbox root directory and not seeing the file.
Please see below for the details.
any help would be great and i am new to sandbox.
Created 06-28-2016 01:25 PM
Try this command instead.
scp -P 2222 C:/Users/rnkumashi/Downloads/sample.txt root@localhost:/root
However you need something like cygwin to make scp work from windows machine.
You have to run the command from windows, not sandbox.
This is a good document to get you started http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/
Created on 06-28-2016 05:26 PM - edited 08-18-2019 04:44 AM
Created 06-28-2016 05:30 PM
@slachterman Thanks for your input and your input are really helpful keep helping newbies..thanks a ton!!!
I used the below commad to copy file from local machine to sandbox using cygwin and it worked.
scp /cygdrive/c/Users/rnkumashi/Downloads/sample.txt [email protected]:/root
Created 06-28-2016 05:59 PM
@Ravikumar Kumashi Great to hear! Glad I could help.
Created on 02-14-2017 10:14 PM - edited 08-18-2019 04:44 AM
Hello @Rahul Pathak,
Could you please help me with this..
I'm stuck here since 2 days and tried everything 😞
Created 02-14-2017 10:19 PM
Created on 02-14-2017 11:15 PM - edited 08-18-2019 04:44 AM
@slachterman yes I did try this.. it's showing like this
Created 02-14-2017 11:16 PM
Please note the capital P. The error message indicates you are still attempting to connect to port 22.
Please also verify SSH connectivity, per the above.
Created 02-14-2017 11:20 PM
Wow! Found it!! Thanks a lot 🙂
Created 02-14-2017 10:28 PM
@Ravikumar Kumashi please could you look at this..
Created 02-14-2017 10:29 PM
Help please!?