2
所有者的权限被拒绝,尽管它在.ssh目录中设置为666
我最近把.ssh目录弄乱了。我认为进行了一些权限更改,现在不再允许我访问它。我可以以root用户身份访问它(sudo -i),但不能以somesh身份访问 列出或提示进入.ssh时,我得到的权限被拒绝,即使它显示了文件 ls: cannot access /home/somesh/.ssh/amazon.pem: Permission denied ls: cannot access /home/somesh/.ssh/id_rsa: Permission denied ls: cannot access /home/somesh/.ssh/known_hosts: Permission denied ls: cannot access /home/somesh/.ssh/id_rsa.pub: Permission denied total 0 -????????? ? ? ? ? ? amazon.pem -????????? ? ? ? ? ? id_rsa -????????? ? ? ? ? ? id_rsa.pub …
12
permissions
ssh
chmod