And for those systemd users, you'd want to do (with 'doas' or 'sudo'
according to how up-to-the-latest your system is)

   systemctl reload sshd

On Wed, Mar 29, 2023 at 5:03 PM David Berube <djber...@berubeconsulting.com>
wrote:

> Should be - as well as this:
>
> kill -1 your_pid_here
>
> Take it easy,
>
> David Berube
>
> On Wed, Mar 29, 2023 at 4:37 PM Mark McSweeney <mark.mcswee...@gmail.com>
> wrote:
>
>> All,
>>
>> Was recently looking at the "kill" signal man and info pages after I got
>> a question about it.
>>
>> I learned a long time ago that after makes changes to the
>> /etc/ssh/sshd_config, to reload sshd daemon, I needed to get the
>> /var/run/sshd.pid value and input that value in to the "kill -HUP
>> 'SSHD_PID'" and it would reload the daemon with killing my existing ssh
>> session. Works great for when I am logged into remote systems.
>>
>> Specifically, my question is, is this method the equivalent to "kill -s
>> SIGHUP 'SSHD_PID'" ??
>> _______________________________________________
>> gnhlug-discuss mailing list
>> gnhlug-discuss@mail.gnhlug.org
>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>>
>
>
> --
> David Berube
> Berube Consulting
> http://berubeconsulting.com
> P.O Box 1746
> Concord, NH 03302
> United States
> Tel: (603) 574-4766
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to