chown -R username:usergroup YOUR_WEB_PATH. If you don’t know the usergroup, check out the current files by typing,
ls -la YOUR_WEB_PATH
chmod -R 755 YOUR_WEB_PATH
ls ~/.ssh/, and then
rm authorized_keysif it is there unless of course you use that for authentication. Authorized keys allows you to ssh without a username and a password, because you put your id on your computer and on the server.
/var/logto make sure there is no unauthorized connections that you haven’t made.