Error

file_get_contents(/home/{username}/.ssh/id_rsa): failed to open stream: Permission denied

Solution

change the user in usr/local/etc/php-fpm.d/www.conf. user = www-data group = www-data