环境:OS:freebsd 15
1.修改配置文件vi /etc/ssh/sshd_config在文件最后面添加PermitRootLogin yes
2.重启sshservice sshd restart