1 Answer
- Newest
- Most votes
- Most comments
0
It appears to be a Linux file permission issue. Make sure the user ( whose ppk is being used) is allowed to write to the destination directory. To test this, ssh to the instance as same user and try to create a test file.
Example command:
$ touch /path_to_destination_dir/testfile
Check the directory permissions using ls
command and modify the permissions if requires.
$ ls -ld /path_to_destination_dir
If the write (w
) permission is missing for the user, modify the directory permissions using chmod
command.
answered 2 years ago
Relevant content
- asked a year ago
- asked 7 months ago
- asked 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 5 months ago