New Module Tutorial

Peter Stuge stuge-openssh-unix-dev at cdy.org
Wed Oct 11 20:29:41 EST 2006


Hi,

On Wed, Oct 11, 2006 at 11:39:20AM +0200, Vincenzo Sciarra wrote:
> Hi,
> how can add a new module in openSSH?
> Is there a tutorial?

No tutorials that I know of, sorry.

But if by module you mean subsystem it's very easy to create the
server end; just have your process communicate on standard io.

If the client should be a monolithic program it has to include SSH
code, but the unix way would be to execute ssh -s with the subsystem
name as written in the server sshd.conf specified just like it was a
command to be executed. -s makes the client ask for the subsystem
instead.

Please don't forget to add your domain name to the name if you're
creating only a local subsystem.


//Peter



More information about the openssh-unix-dev mailing list