If you check your /etc/apache2/apache2.conf and look for User and Group:
# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
Let’s replace User and Group variable in /etc/apache2/envvars.
export APACHE_RUN_USER=user-you-want-to-use
export APACHE_RUN_GROUP=user-you-want-to-use
Restart Apache.
sudo service apache2 restart
And you are done!

I got a message like “Server refused our key” when I tried to SSH my server using a PuTTY with a RSA key. After a log check in /var/log/auth.log (Ubuntu): sshd[2910]: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys Ownership of .ssh folder and authorized_keys file should be: drwx------...