Using the following command -
scp -p 2222 C:/Users/Rohan/Downloads/test.txt email@example.com:/root
Getting the following error
ssh: Could not resolve hostname C: Name or service not known
I have the following entry in hosts file -
How to resolve this? I am using putty to access sandbox
Easiest way to copy over files from Windows to hdfs is by using Ambari files view, and use the upload button to load files from your OS to HDFS, you can then use hadoop fs commands to move the files from hdfs to unix file system within your vm..