1 允许ssh的网络连接 vi /etc/inetd.conf
删除ssh前面的# 来enable
so do
sshd已经开启
使用ee编辑器编辑/etc/inetd.conf,去掉ssh前的#,按ctrl+c,再输入exit保存退出
编辑/etc/rc.conf,添加一行sshd_enable="YES"
编辑/etc/ssh/sshd_config,将
#PermitRootLogin no改为PermitRootLogin yes//允许root登陆
#PasswordAuthentication no改为PasswordAuthenticationyes//使用系统PAM认证
#PermitEmptyPasswords no改为PermitEmptyPasswords no//不允许空密码
重启SSHD服务,/etc/rc.d/sshd restart
用另一个虚拟机ssh进入freebsd成功
putty始终报错