Created on ‎06-11-2018 12:41 PM - edited ‎08-17-2019 07:45 PM
Hi all ,
I have install Hortownworks Sandbox in Oracle virtual machine. Now I want to upload files from Windows to HDFS. I have tried following command.
C:\InputFileWindows>scp -p 22 datafile.txt root@localhost:
But I am not able to do that. It is giving me permission denied error;
Created ‎06-11-2018 05:17 PM
Hey @JAy PaTel!
Did you tried to connect using the port 2222? And if isn't, could you add the -v(verbose) parameter to your scp command?
Hope this helps!
Created ‎06-12-2018 05:18 AM
Hey @Vinicius Higa Murakami,
yes, I tried following,
C:\InputFileWindows>scp -p 2222 datafile.txt root@localhost:
C:\InputFileWindows>scp -p -v 22 datafile.txt root@localhost:
C:\InputFileWindows>scp -p -v 2222 datafile.txt root@localhost:
But it doesn't help me, facing same error.
Thank you.
Jay.
Created ‎06-12-2018 05:19 AM
Hey @JAy PaTel!
I see, could you share the output from the following command?
C:\InputFileWindows>scp -v -p 2222 datafile.txt root@localhost:/
Thanks!
Created ‎06-12-2018 06:32 AM
Created ‎06-12-2018 12:04 PM
@JAy PaTel try with 127.0.0.1 instead of localhost. scp -v -p 2222 datafile.txt root@127.0.0.1:/
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created ‎06-12-2018 01:50 PM
Created ‎06-12-2018 01:55 PM
@JAy PaTel Try with putty alternative pscp, hopefully this will work. Or else you can create a shared folder on your virtualbox and use it to move files from windows to virtual machine.
Created ‎06-14-2018 07:56 AM