欧拉系统-登陆 SSH 出现 Access Denied 错误


1、/home 权限问题
如果 /home 只支持 root 访问,那么不妨试一下 /tmp ,然后用 mv 命令再转移

2、/etc/ssh/sshd_config 配置问题
     vi  /etc/ssh/sshd_config  找到里边的 PermitRootLogin 选项,将 no 改为 yes

3、/etc/ssh/sshd_config 里,有个 AllowUsers 选项,在后边加上 root 然后重启 sshd 即可

     重启命令:/etc/init.d/sshd restart

原文地址:https://www.cnblogs.com/yaohuimo/p/10901325.html