[linux] scp from remote host to local host

I am trying to copy a file from a remote machine to the local machine I am using. Whenever I run this command I get prompted to enter a password. I am not sure what to enter for the password as I never configured any password. Anyone have any tips?

scp stuff.php [email protected]:Users/djorge/Desktop

This question is related to linux unix scp

The answer is


You need the ip of the other pc and do:

scp [email protected]_of_remote_pc:/home/user/stuff.php /Users/djorge/Desktop

it will ask you for 'user's password on the other pc.


Similar questions with linux tag:

Similar questions with unix tag:

Similar questions with scp tag: