Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i am trying to copy a file in my /home folder hello.txt to remote host mak -

scp hello.txt mak@

but on copying i am getting the following error:

scp: /home/me//hello.txt:permission denied 

i have even changed the ownership of hello.txt to root, but still it gives permission denied error. what should be done to copy copy the file to remote server?

i got the answer for copying to remote server home folder. i used:

scp hello.txt mak@ 

and the file hello.txt got copied to home folder of remote server, but still the file when copied to specific folder does not got copied and gives the same error.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.