From 867e9db15f3d3e5e430e3adda577364e455b9dac Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 25 Apr 2018 15:31:55 +0200 Subject: ssh: Create doc for the ssh_daemon_channel behaviour --- lib/ssh/doc/src/ssh.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/ssh/doc/src/ssh.xml') diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml index 03078cfd83..c403989ba9 100644 --- a/lib/ssh/doc/src/ssh.xml +++ b/lib/ssh/doc/src/ssh.xml @@ -68,8 +68,8 @@ ssh_sftp:start_channel/1,2,3.

To write your own client channel handler, use the behaviour - ssh_channel. For own server channel handlers use the ssh_daemon_channel - behaviour: see the note in ssh_channel. + ssh_channel. and server channel handlers use + ssh_daemon_channel behaviour.

Both clients and daemons accepts options that controls the exact behaviour. Some options are common to both. The three sets are called @@ -378,7 +378,8 @@

The subsystem_name is the name that a client requests to start with for example ssh_connection:subsystem/4.

-

The channel_callback is the module that implements the ssh_daemon_channel +

The channel_callback is the module that implements the + ssh_daemon_channel behaviour in the daemon. See the section Creating a Subsystem in the User's Guide for more information and an example. -- cgit v1.2.3