No such file or directory

Hello! I’m trying to upload a file from my local machine to the Droplet: but it gives me the error “No such file or directory”.

I’m using scp /Users/username/ root@droplet_address:~/

I’m on a macOS device with Apple Silicon which uses the arm chipset.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
February 13, 2023

Hi there,

The command looks correct but it sounds like the path to the file is not correct, if you were to do an ls -l /Users/username/ do you see the file?



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up