Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Unable to transfer files from Mac Desktop to Cloudera VM

avatar
Explorer

I am trying to transfer files from my Mac desktop to Cloudera VM, however it does not work. I have used the following commands to do so. Looking forward to experts for help.

I have tried following commands and got corresponding errors:

 

Command: scp -P 2222 -r sample.txt cloudera@127.0.0.1:/home/cloudera/
Error: ssh: connect to host 127.0.0.1 port 2222: Connection refused
lost connection
 
Command: scp -r sample.txt cloudera@127.0.0.1:/home/cloudera/
Error: ssh: connect to host 127.0.0.1 port 22: Connection refused
lost connection

 

Command: scp -r sample.txt cloudera@quickstart.cloudera:/home/cloudera
Error: ssh: Could not resolve hostname quickstart.cloudera: nodename nor servname provided, or not known
lost connection

2 ACCEPTED SOLUTIONS

avatar
Explorer
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Explorer
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login