首先vi编辑/etc/inetd.conf,去掉ssh前的#,保存退出 编辑/etc/rc.conf 最后加入:sshd_enable="yes"即可 激活sshd服务: techo#/etc/rc.d/sshd start