1 | chmod 700 .ssh |
如果还不行 关闭selinux/firewalld
如果还不行,检查 /etc/security/access.conf
添加:
1 | -:ALL EXCEPT root <username> :ALL |
重启或:
1 | source /etc/security/access.conf |
1 | chmod 700 .ssh |
如果还不行 关闭selinux/firewalld
如果还不行,检查 /etc/security/access.conf
添加:
1 | -:ALL EXCEPT root <username> :ALL |
重启或:
1 | source /etc/security/access.conf |