Re: Premature termination of SSH connection attempts

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 08/18/05

  • Next message: Darren Tucker: "Re: PAM changing user name"
    Date: 18 Aug 2005 14:25:25 GMT
    
    

    On 2005-08-17, Augustus SFX van Dusen <ASFXvD@story.net> wrote:
    > What I would like is for the SSH server (OpenSSH, in this case) to behave
    > in such a way that, whenever a connection is received from a host at a
    > blacklisted domain, the connection is simply refused.

    If your sshd is built with tcpwrappers (most distros do these days)
    then you can put "sshd: .cn" into hosts.deny. See the hosts_access(5)
    man page.

    -- 
    Darren Tucker (dtucker at zip.com.au)
    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.
    

  • Next message: Darren Tucker: "Re: PAM changing user name"

    Relevant Pages

    • Re: (open)ssh hanging, sometimes
      ... >3.7.1.0 COMMITTED OpenSSH 3.7p1] as built by Bull. ... >Anyone has an idea of why openssh hangs and why making a new connection ... Good judgement comes with experience. ...
      (comp.unix.aix)
    • Re: OpenSSH 4.0 fails on HP-UX when Uselogin is set to yes
      ... > Connection to localhost closed. ... Apparently HP-UX 11.has some new tmp files which OpenSSH ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • Re: Max wins
      ... That was their connection - his only connection was with them. ... with his parent's politics, I'd totally agree. ... explicit evidence is not currently in the public domain. ... My beef with Max, though, is his judgement. ...
      (rec.autos.sport.f1)
    • Dont result a disclosure!
      ... Woody's monitoring pledges to our interference after we behave ... Otherwise the bulk in Pervis's rebel might ... Tell Byron it's retail abolishing in connection with a warning. ... Will you wipe round the morning, ...
      (sci.crypt)
    • Re: Intermittent behavior connecting through Cisco 678 DSL modem
      ... > I've got opensshd running on a Suse 8.0 Linux box sitting on a LAN ... > which has a DSL internet connection via a Cisco 678 router. ... the Suse box has a Samba ... of openssh to be 3.4-p1 on the Suse box. ...
      (comp.security.ssh)