ssh开启root用户登录

修改ssh配置文件,将其中的PermitRootLogin设置为yes
配置文件路径如:/etc/ssh/sshd_config

重启ssh服务,命令如下:

/etc/init.d/sshd restart

你可能感兴趣的:(ssh,用户登录)