Re: intermittent sshd connection problem in Linux

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 02/27/04

  • Next message: Richard E. Silverman: "Re: SSH forwarding - Multiple interfaces"
    Date: Thu, 26 Feb 2004 23:05:39 +0000 (UTC)
    
    

    In article <f698f49c.0402261446.62e3201b@posting.google.com>,
    LazyAnt <soporte_altex@hotmail.com> wrote:
    >I'm running sshd (OpenSSH_3.5p1) on a Red Hat Linux 9 server (kernel
    >2.4.20-8smp) and sometimes the users or myself cannot connect through
    >ssh.
    >
    >The error I get is "connection refused by the server".
    >
    >It's an intermittent problem and I cannot reproduce it.
    [snip]

    Try bumping MaxStartups in sshd_config:

     MaxStartups
           Specifies the maximum number of concurrent unauthenticated con-
           nections to the sshd daemon. Additional connections will be
           dropped until authentication succeeds or the LoginGraceTime
           expires for a connection. The default is 10.

    Another posibility: does the host's name resolve to more than one IP
    address?

    -- 
    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: Richard E. Silverman: "Re: SSH forwarding - Multiple interfaces"

    Relevant Pages

    • Re: Control-C terminates ssh session
      ... >The bug you cited is marked resolved. ... Only if you can reproduce it with a current version and are prepared to ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • Re: SMSM - PS2 trade value
      ... In message, Lister writes ... slightly better judgement than usual? ...
      (uk.games.video.misc)
    • Re: Two pounds a day
      ... > a judgement, you really should seek help at your earliest opportunity. ... >> And so you choose to continue to bear false witness. ... It was my choice to embellish the <snip>. ... Andrew B. Chung, MD/PhD ...
      (sci.med)
    • Re: Two pounds a day
      ... > a judgement, you really should seek help at your earliest opportunity. ... >> And so you choose to continue to bear false witness. ... It was my choice to embellish the <snip>. ... Andrew B. Chung, MD/PhD ...
      (sci.med.cardiology)
    • Re: Error on Relinat Unix - no controlling terminal
      ... >could not set controlling tty: ... Mailing list thread, including patch: ... Good judgement comes with experience. ...
      (comp.security.ssh)