freebsd开启ssh

编辑/etc/rc.conf文件 
sshd_enable="YES"

编辑/etc/ssh/sshd_config文件,增加以下几行:

PermitRootLogin yes #允许root登录
PermitEmptyPasswords no #不允许空密码登录
PasswordAuthentication yes #设置是否使用口令验证。

 

 

posted @ 2012-08-21 22:14  邱亮  阅读(577)  评论(0编辑  收藏  举报