全球云服务器测评

root账号

centos启用root账户ssh连接

安装ssh服务,登录普通账号,sudo su root切换到root账号 vi /etc/ssh/sshd_config编辑ssh配置文件,将PermitRootLogin  yes  取消注释PasswordAuthentication yes 取消注释 保存退出,重启ssh服务service s...
分类:Linux常见问题解决方案 2025-06-04