Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 16:46:17 -0400
From:      Ben Rosengart <questions@narcissus.net>
To:        questions@freebsd.org
Subject:   Re: stray sshd processes
Message-ID:  <20030409204617.GA7791@narcissus.net>
In-Reply-To: <44smsrv23y.fsf@be-well.ilk.org>
References:  <20030407202027.GA32057@narcissus.net> <44smsrv23y.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 09, 2003 at 04:37:37PM -0400, Lowell Gilbert wrote:
> Ben Rosengart <questions@narcissus.net> writes:
> 
> > Hello,
> >   I'm running STABLE as of about a month ago. I have a shell user whose
> > ssh connection is sometimes disconnected by a firewall between her
> > network and mine.  When this happens, the privileged sshd child for her
> > session does not terminate.  Once a number of them equal to "MaxStartups"
> > accumulates, new connections cannot be made, which is annoying, to say
> > the least.

Odd addendum: the disconnects were a red herring.  This happens
whenever the user logs in and out.
 
> The firewall probably drops everything for the session afterwards.  
> Adding keepalives would probably help...

They're on by default:

% grep -i keepalive /etc/ssh/sshd_config
#KeepAlive yes

-- 
 Ben

"When I say 'literally', I literally mean 'literally'."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030409204617.GA7791>