Re: openssh interface

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxx
>>> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>>>
>>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux