openssh interface
Robert Banz
rob at nofocus.org
Fri May 24 00:04:33 AEST 2019
Ah, misunderstood. Thought you were trying to figure out a way to shutdown
an OpenSSH daemon itself ;)
Are you trying to set up some sort of RPC service, but don't want to be
bothered with rolling your own AuthZ/AuthN or transport?
On Thu, May 23, 2019 at 9:58 AM Gorka Lendrino Vela <
gjlendrino.box at gmail.com> wrote:
> 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