twisted.conch.endpoints.SSHCommandClientEndpoint._executeCommand(self, connection, protocolFactory)
method documentationtwisted.conch.endpoints.SSHCommandClientEndpoint
View Source
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.
Parameters | connection | See SSHCommandClientEndpoint.existingConnection 's connection parameter. |
protocolFactory | See SSHCommandClientEndpoint.connect 's protocolFactory parameter. | |
Returns | See SSHCommandClientEndpoint.connect 's return value. |
Function | disconnectOnFailure | Undocumented |