I guess this needs to be changed again, to retain more info from the
original title.

Stuart Henderson <s...@spacehopper.org> wrote:

> On 2020/01/21 15:39, Damien Miller wrote:
> > CVSROOT:    /cvs
> > Module name:        src
> > Changes by: d...@cvs.openbsd.org    2020/01/21 15:39:57
> > 
> > Modified files:
> >     usr.bin/ssh    : sshd.c 
> > 
> > Log message:
> > expose the number of currently-authenticating connections
> > along with the MaxStartups limit in the proctitle;
> > suggestion from Philipp Marek, w/ feedback from Craig Miskell
> > ok dtucker@
> > 
> 
> It's nice to have this information visible, but it brings some problems.
> You can't now distinguish between multiple sshd processes (e.g. if you
> run several on different ports it's hard to figure out which one to
> signal if needed).
> 
> The rc.d script also needs updating because it uses pgrep to find the
> matching process:
> 
> Index: sshd
> ===================================================================
> RCS file: /cvs/src/etc/rc.d/sshd,v
> retrieving revision 1.4
> diff -u -p -r1.4 sshd
> --- sshd      11 Jan 2018 19:52:12 -0000      1.4
> +++ sshd      22 Jan 2020 12:52:15 -0000
> @@ -6,6 +6,8 @@ daemon="/usr/sbin/sshd"
>  
>  . /etc/rc.d/rc.subr
>  
> +pexp="sshd: \[listener\].*"
> +
>  rc_reload() {
>       ${daemon} ${daemon_flags} -t && pkill -HUP -xf "${pexp}"
>  }
> 
> 

Reply via email to