修改/etc/ssh/sshd_config文件
#PermitRootLogin yes
要把前面的#号去掉。
PermitRootLogin yes
重启sshd服务器
service sshd restart
修改/etc/ssh/sshd_config文件
#PermitRootLogin yes
要把前面的#号去掉。
PermitRootLogin yes
重启sshd服务器
service sshd restart