1
sudo -u apache ssh-keygen -t rsa

参考资料:https://stackoverflow.com/questions/7306990/generating-ssh-keys-for-apache-user