K
K
kode_krendel2017-03-04 22:11:48
linux
kode_krendel, 2017-03-04 22:11:48

Why doesn't copying with scp work?

I'm trying to copy a file to an AWS instance, Ubuntu 14.04. My machine is Ubuntu 16.04. I do:

scp -i ~/Downloads/мой-ключ.pem index.html [email protected]мой-амазон.amazonaws.com:/home/test

Those. From my local folder, I copy to the Amazon folder ~/home/test. Writes:
scp: /home/test: Permission denied

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fixid, 2017-03-04
@kode_krendel

This user does not have write access to this folder.
In theory, the entry is guaranteed in /home/ubuntu if the user is ubuntu.
Or add user rights to the folder (chown)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question