LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   scp problem (https://www.linuxquestions.org/questions/linux-security-4/scp-problem-80916/)

eduac 08-11-2003 07:35 AM

scp problem
 
Guys,

i have one problem with scp program...when i try to copy from my local machine to server, i get this error Permission denied...but this working on when try to copy from server to local machine.

Anybody can help me?

bleah-man 08-11-2003 09:22 AM

I think I remember getting something like this before are you trying to:

scp <file>.<ext> <host>:<path><file>.<ext>

For some reason that only seemed to work for me if I was root.. security I guess..

I found that you can:

scp <file>.<ext> <usr>@<host>:<file>.<ext>

Which dumps it in the usr's home directory.

Bleah!

eduac 08-11-2003 09:55 AM

thanks my friend....i already resolve the problem ...i put the wrong path destination...sorry

bleah-man 08-11-2003 10:00 AM

Lol... yeah, been there done that... too many times to mention!


All times are GMT -5. The time now is 08:04 AM.