Need Help Urgently!!!
I am tryng to use "scp" to copy files from one machine to the other, but i can store files on the other machine only by using the "sudo" command.
I am using the following syntax, but this gives errors: sudo scp filename username@machine:/filename Error: permission denied So i try using the sudo command for the second machine sudo scp filename sudo username@machine:/filename Error: scp: /filename: No such file or directory Any suggestions. I think there is some problem with the positioning of the sudo comand |
Quote:
I hearby Boycott this Thread Based on It Annoying Subject |
I also advise you to change the topic according to your problem and not according to its priority
|
i am sorry for that.
But i cannot change the subject line by using edit option. i will definitely appreciate ur help |
Your commands should be similar to the following,
Code:
$scp filename user@host:filename Code:
$scp filename user@host:dirname/. As others have mentioned you thread needs to have a title that reflects the problem and not the urgency. Threads are not prioritised by how urgent they are. When someone comes along who can help you then you will get a reply. |
To actually answer your question: scp will never invoke sudo on the remote host. To use scp, the destination must be writable but the user on the remote system.
|
All times are GMT -5. The time now is 02:34 PM. |