Re: Kill signal question

2023-03-29 Thread Jim McGinness
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 
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 
> 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
>> [email protected]
>> 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
> [email protected]
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
___
gnhlug-discuss mailing list
[email protected]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Kill signal question

2023-03-29 Thread David Berube
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 
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
> [email protected]
> 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
[email protected]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/