编辑ssh配置文件,有两个ssh_config和sshd_config,一定要记得是sshd的那个vi /etc/ssh/sshd_config是否允许root账户直接登录PermitRootLogin no/yes是否允许密码方式登录PasswordAuthentication no/yes

- 阅读全文 -