gpt4 book ai didi

linux - ssh keygen 权限被拒绝

转载 作者:太空宇宙 更新时间:2023-11-04 10:47:30 24 4
gpt4 key购买 nike

<分区>

我正在尝试为部署者用户制作 ssh key

[deployer@server /]$ ssh-keygen -t rsa -b 4096 -C "email@yahoo.com"
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.

这些我都试过了

[root@server /]# chmod -R 644 /home/deployer
[root@server /]# chmod -R 755 home/deployer
[root@server /]# chmod -R 755 /home/deployer
[root@server /]# chmod -R 755 home/deployer

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com