我试图让SSH密钥对的部署用户SSH密钥根权限被拒绝
[[email protected] /]$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/deployer/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
open /home/deployer/.ssh/id_rsa failed: Permission denied.
Saving the key failed: /home/deployer/.ssh/id_rsa.
我已经尝试了所有的论文
[[email protected] /]# chmod -R 644 /home/deployer
[[email protected] /]# chmod -R 755 home/deployer
[[email protected] /]# chmod -R 755 /home/deployer
[[email protected] /]# chmod -R 755 home/deployer
你是那个目录的所有者吗? – bytesized