使用xshell连接发现ssh被拒绝
原因:root账户默认是不支持远程连接
解决:修改 /etc/ssh/sshd_config文件
注释一行,添加一行即可
然后重启服务:service ssh restart