PDA

Bekijk de volledige versie : dropbear xinetd problem



bogus
29-07-2007, 20:54
i defined dropbear as a xinetd service, but.. it doesn't work.
tens of tries and reconfigurations but with no success.
i'm getting this error:

ssh_exchange_identification: Connection closed by remote host

my xinetd.d/dropbear looks like this:


service dropbear
{
port = *portnr*
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/dropbear
server_args = -i
}


xinetd.conf

defaults
{
only_from = 192.168.1.2
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID EXIT
log_on_failure = HOST
cps = 25 30
}


i'm connecting from 192.168.1.2. the *portnr* is not the default 22 and it is listed in /etc/services with dropbear service and /tcp and /udp option, and iptables is not blocking this port.

output of syslog:

Jul 29 22:02:05 xinetd[647]: START: dropbear pid=649 from=150.254.17.149
Jul 29 22:02:05 xinetd[647]: EXIT: dropbear status=1 pid=649


any suggestions? please, help:)