diff --git a/reference/ssh2/functions/ssh2-exec.xml b/reference/ssh2/functions/ssh2-exec.xml index a3d85fb86c..cdb976b0a3 100644 --- a/reference/ssh2/functions/ssh2-exec.xml +++ b/reference/ssh2/functions/ssh2-exec.xml @@ -1,5 +1,5 @@ - + @@ -17,11 +17,31 @@ arrayenv - + Execute a command at the remote end and allocate a channel for it. Returns a stream on success or &false; on failure. - + + + Executing a command + + +]]> + + + + + See Also: + ssh2_connect, + ssh2_shell, and + ssh2_tunnel + diff --git a/reference/ssh2/functions/ssh2-fetch-stream.xml b/reference/ssh2/functions/ssh2-fetch-stream.xml index 92c2783e3a..aeff3df765 100644 --- a/reference/ssh2/functions/ssh2-fetch-stream.xml +++ b/reference/ssh2/functions/ssh2-fetch-stream.xml @@ -1,5 +1,5 @@ - + @@ -16,9 +16,34 @@ intstreamid - - Fetch an alternate substream associated with an SSH2 channel stream. - + + Fetches an alternate substream associated with an SSH2 channel stream + identified by streamid. The SSH2 protocol + currently defines only one substream, STDERR, which has a substream ID + of SSH2_STREAM_STDERR (defined as 1). + + + + Opening a shell and retreiving the stderr stream associated with it. + + +]]> + + + + + See Also: + ssh2_shell, + ssh2_exec, and + ssh2_connect +