OpenSSH,Cygwin and blocking multiple attempts

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm trying to figure out how, with Cygwins OpenSSH package running on XP
Home, I can configure OpenSSH, so that when someone connects and fails
to login > x number of times, that OpenSSH then ignores any attempt from
that IP.

From reading around I've seen scripts for Linux to update iptables to do
the same thing, but I doubt its possible to have my firewall be updated
- so I'm looking for a way to have openssh itself "ignore" those IPs
that repeatedly try to access my system.

Any ideas?


Re: OpenSSH,Cygwin and blocking multiple attempts

Quoted text here. Click to load it

If Cygwin's sshd is built with tcpwrappers support (I don't know if it
is but you could probably build rebuild with it) then you can dump the
nuisance source addresses into hosts.deny.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline