Re: openssh interface

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

 



Gorka Lendrino Vela wrote:
> 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?

It's an important design goal to keep the sshd process small and simple.

So no, there's no interface to dynamically add code, and I doubt there
will ever be one.

Just create your own program on the server that does what you want
and start it from a remote system either with "ssh server yourprogram"
or alternatively you can configure the program to be a subsystem[1],
in which case you start it using "ssh -s server yourprogram".

See "Subsystem" in the sshd man page.


//Peter
_______________________________________________
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