Im trying to setup the python script denyhosts but my sshd currently ignores the files host.deny and hosts.allow. So it seems I need to run it trough a tcpwrapper.
I changed the ssh startup script so it starts sshd like this:
Code:
start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/tcpd /usr/sbin/sshd -- $SSHD_OPTS
sshd starts up but now i cant login at all it keeps saying connection refused.
adding an ALL:ALL to hosts.allow doesnt help either.
Anyone that can tell me what is going wrong?