This module provides an API to the ssh connection protocol. Not all features of the connection protocol are officially supported yet. Only the ones supported are documented here.
Type definitions that are used more than once in this module and/or abstractions to indicate the intended use of the data type:
As a result of the ssh connection protocol messages on the form
Adjusts the ssh flowcontrol window.
This will be taken care of by the ssh_channel
behavior when the callback
Sends a close message on the channel
This function will be called by the ssh channel
behavior when the channel is terminated see
Will request that the server start the execution of the given command, the result will be received as:
These message should be handled by the
client. The
Sends the exit status of a command to the client.
Sends status replies to requests where the requester has
stated that they want a status report e.i .
Sends channel data.
Sends eof on the channel
Opens a channel for a ssh session. A session is a remote execution of a program. The program may be a shell, an application, a system command, or some built-in subsystem.
Environment variables may be passed to the shell/command to be started later.
Will request that the user's default shell (typically defined in /etc/passwd in UNIX systems) be started at the other end.
Sends a request to execute a predefined subsystem.