Intranet 发表于 2009-08-06 17:37

FreeBSD 下的SSH服务.

使用putty通过SSHD 服务,登录FreeBSD.
1.
在/etc/ssh/sshd_config最后中加入
PermitRootLogin yes #允许root登录
PermitEmptyPasswords no #不允许空密码登录
PasswordAuthentication yes # 设置是否使用口令验证。

2.
编辑/etc/inetd.conf,去掉ssh前的#,保存退出 (开启ssh服务)
3.
编辑/etc/rc.conf
加入sshd_enable="YES"

4
激活sshd服务:
/etc/rc.d/sshd start

5.
#netstat -an

6.
sysinstall>>>configure>>>networking>>>sshd
是否安装ssh


出错:
1.hostname nor servname provided ,or not know
2.sshd re-exec requires execution with an absolute path



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/30/showart_2019999.html
页: [1]
查看完整版本: FreeBSD 下的SSH服务.