Chinaunix首页 | 论坛 | 博客
  • 博客访问: 774928
  • 博文数量: 156
  • 博客积分: 5320
  • 博客等级: 大校
  • 技术积分: 1605
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-09 12:24
文章分类

全部博文(156)

文章存档

2010年(20)

2009年(46)

2008年(21)

2007年(21)

2006年(33)

2005年(10)

2004年(5)

分类: BSD

2009-08-06 17:37:38

使用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
 





阅读(869) | 评论(0) | 转发(0) |
0

上一篇:Microsoft AD LDAP...

下一篇:FreeBSD 下的DHCP....

给主人留下些什么吧!~~