Module openssh::changelog::v0_9_0_rc_1
source · Expand description
§Added
-
Feature flag
native-mux
, an alternative backend that communicates with the ssh multiplex server directly through control socket as opposedprocess-mux
implementation that spawns a process to communicate with the ssh multiplex server.Compared to
process-mux
,native-mux
provides more robust error reporting, better performance and reduced memory usage.process-mux
checks the exit status ofssh
for indication of error, then parse the output of it and the output of the ssh multiplex master to return an error.This method is obviously not so robust as
native-mux
, which directly communicates with ssh multiplex master through its multiplex protocol. -
Feature flag
process-mux
(enabled by default) to disable the old backend if desired. -
API
Session::connect_mux
for the newnative-mux
backend, which is used to create aSession
backed bynative-mux
implementation. -
API
SessionBuilder::connect_mux
for the newnative-mux
backend, which is used to create aSession
backed bynative-mux
implementation. -
Session::request_port_forward
for local/remote forwarding of tcp or unix stream sockets, along withForwardType
andSocket
, which is used to setup port forwarding. -
A new module
process
is added to provide interfaces more similar tostd::process
. -
New variants are added to
Error
.
§Changed
- A new type
Stdio
is used for setting stdin/stdout/stderr. ChildStdin
,ChildStdout
andChildStderr
are now aliases fortokio_pipe::PipeRead
andtokio_pipe::PipeWrite
.Command::spawn
andCommand::status
now conforms tostd::process::Command
andtokio::process::Command
, in which stdin, stdout and stderr are inherit by default.Command::spawn
is now anasync
method.RemoteChild::wait
now takesself
by value.Error
is now marked#[non_exhaustive]
.