I am trying to do a scp from a server where the user home directory has been given permission 744 recursively. On doing scp I am getting the following error "C0744 1733 database.cpp" .
The situation did not change for a permission of 777 too. With that I am getting a similar error like "C0777 1733 database.cpp". I used the command
chmod -R ugo+rwx home-directory.
Is there something I am missing here. I deleted the .ssh folder in the home-directory but the problem persisted.
Some additional hints:
- To my surprise, a reverse scp i.e. scp from the server to local machine is working correctly.
ssh-copy-idon the server is also not working.