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 opposed process-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 of ssh 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 new native-mux backend, which is used to create a Session backed by native-mux implementation.

  • API SessionBuilder::connect_mux for the new native-mux backend, which is used to create a Session backed by native-mux implementation.

  • Session::request_port_forward for local/remote forwarding of tcp or unix stream sockets, along with ForwardType and Socket, which is used to setup port forwarding.

  • A new module process is added to provide interfaces more similar to std::process.

  • New variants are added to Error.

§Changed