我試圖讓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