stray sshd processes

Ben Rosengart questions at narcissus.net
Wed Apr 9 13:46:19 PDT 2003


On Wed, Apr 09, 2003 at 04:37:37PM -0400, Lowell Gilbert wrote:
> Ben Rosengart <questions at 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'."


More information about the freebsd-questions mailing list