openssh interface
Gorka Lendrino Vela
gjlendrino.box at gmail.com
Thu May 23 23:58:34 AEST 2019
Shutdown a database is only an example.
My question is if there is any interface provided by the openssh server to
add new functionality or call a dynamic library that implements this
functionality?
On Thu, 23 May 2019 at 15:55, Robert Banz <rob at nofocus.org> wrote:
> The commonly understood "API" to shutdown most UNIX processes cleanly is a
> SIGTERM, no?
>
> On Thu, May 23, 2019 at 7:37 AM Gorka Lendrino Vela <
> gjlendrino.box at gmail.com> wrote:
>
>> Dear all,
>>
>> This is my first post to this group so excuse me if this topic has been
>> solved previously.
>>
>> If I want to shutdown a remote database, I could send a "systemctl stop
>> mariadb" command using ssh. But I wonder if it is possible to update the
>> openssh server to implement a specific handler/callback that catch this
>> message and then call a C/C++ code.
>>
>> In short, is there any interface provided by the openssh server to add new
>> functionality or call a dynamic library that implements this
>> functionality?
>>
>> Thanks in advance,
>> Gorka
>>
> _______________________________________________
>> openssh-unix-dev mailing list
>> openssh-unix-dev at mindrot.org
>> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>>
>
More information about the openssh-unix-dev
mailing list