sudo -Hu nginx ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/var/cache/nginx/.ssh/id_rsa):
Could not create directory ‘/var/cache/nginx/.ssh’: Permission denied
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
open /var/cache/nginx/.ssh/id_rsa failed: No such file or directory.
Saving the key failed: /var/cache/nginx/.ssh/id_rsa.
我想问一下 生成的id_rsa 怎么会自动到 /data/www/.ssh里面去