LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to scp a file, why do I get this? (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-scp-a-file-why-do-i-get-this-565210/)

EnVoy 06-28-2007 06:10 PM

Trying to scp a file, why do I get this?
 
I'm trying to scp a file from one machine to another, and I get this:

abcde:~/Desktop bill_smith$ scp hike.jpg bill_smith@XX.XX.XXX.XX:/
bill_smith@XX.XX.XXX.XX's password:
scp: /hike.jpg: Permission denied


If I am logging in and scping the file to my own dir, why am I denied?

unSpawn 06-28-2007 06:31 PM

scp hike.jpg bill_smith@XX.XX.XXX.XX:/bill_smith@XX.XX.XXX.XX's password: scp: /hike.jpg: Permission denied If I am logging in and scping the file to my own dir, why am I denied?
Because you're not. You're scp'ing to the systems root: try "scp hike.jpg user@host:/home/user/".

EnVoy 06-28-2007 06:36 PM

That did it, thanks...


All times are GMT -5. The time now is 10:27 PM.