Given a secured SSH connection, try to execute a command in a new channel created on it and associate the result with a protocol from the given factory.

ParametersconnectionSee SSHCommandClientEndpoint.existingConnection's connection parameter.
protocolFactorySee SSHCommandClientEndpoint.connect's protocolFactory parameter.
ReturnsSee SSHCommandClientEndpoint.connect's return value.
Function disconnectOnFailure Undocumented
def disconnectOnFailure(passthrough): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.