Crate ssh_muxcontrol

Crate ssh_muxcontrol 

Source

Structs§

CommandError
Low level SSH control socket protocol errors.
MuxError
SSH control socket errors.
ShellResult
A simple struct which contains the stdout, stderr and exit code of a completed remote command.

Enums§

SshctlError
Error returned by ssh-muxcontrol library.

Functions§

run
Runs a given shell command on the remote hosts default shell though an existing SSH UNIX control socket. The SSH control socket is created outside of this crate by an existing SSH connection.
run_stdin
Runs a given shell command on the remote hosts default shell though an existing SSH UNIX control socket. The SSH control socket is created outside of this crate by an existing SSH connection.