Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92888
  • 博文数量: 50
  • 博客积分: 982
  • 博客等级: 准尉
  • 技术积分: 280
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-16 12:19
文章分类

全部博文(50)

文章存档

2012年(5)

2011年(45)

我的朋友

分类: BSD

2011-02-24 14:44:09

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
阅读(663) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~