freebsd下root不能用ssh连接
PermitRootLogin yes
PasswordAuthentication yes
2.修改/etc/rc.conf添加echo 'sshd_enable="YES"'>>/etc/rc.conf
3.重新启动ssh
/etc/rc.d/sshd restart
修改下配置文件
1.修改 /etc/ssh/sshd_config 找到并修改PermitRootLogin yes
PasswordAuthentication yes
2.修改/etc/rc.conf添加echo 'sshd_enable="YES"'>>/etc/rc.conf
3.重新启动ssh
/etc/rc.d/sshd restart