LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 985|回复: 3

Arch 0.7.2 Base下配置ssh的问题

[复制链接]
发表于 2006-7-31 23:17:23 | 显示全部楼层 |阅读模式
安装了ssh,xinted,想从xinted启动sshd,我在xinted.conf里加了入下内容:
service ssh

{

disable = no

protocol = tcp

socket_type = stream

wait = no

user = root

server = /usr/sbin/sshd

}
然后在rc.d里启动xinted,用nmap扫描了下本机,为什么sshd始终没有启动起来呢?
发表于 2006-7-31 23:28:42 | 显示全部楼层
检查一下你的/etc/hosts.*
回复 支持 反对

使用道具 举报

发表于 2006-8-1 21:31:31 | 显示全部楼层
service ssh
{
        socket_type    = stream
        protocol       = tcp
        wait           = no
        user           = root
        port           = 22
        instances      = 10
        cps            = 25 60
        server         = /usr/sbin/sshd
        server_args    = -i
        log_on_success += DURATION USERID
        log_on_failure += USERID
        nice           = 10
        disable        = no
}
我的可以,不知道你的是不是防火墙什么的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-1 22:51:18 | 显示全部楼层
我把你这段复制过去。也不行,就是不能通过xinetd启动SSH,但是单独启动sshd又OK。唉。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表