Home | Trees | Indices | Help |
---|
|
object --+ | ProxyCommand
Wraps a subprocess running ProxyCommand-driven programs.
This class implements a the socket-like interface needed by the `.Transport` and `.Packetizer` classes. Using this class instead of a regular socket makes it possible to talk with a Popen'd command that will proxy traffic between the client and a server hosted in another machine.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
Create a new CommandProxy instance. The instance created by this class can be passed as an argument to the `.Transport` class. :param str command_line: the command that should be executed and used as the proxy.
|
Write the content received from the SSH client to the standard input of the forked command. :param str content: string to be sent to the forked command |
Read from the standard output of the forked program. :param int size: how many chars should be read :return: the length of the read content, as an `int` |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 7 11:49:47 2015 | http://epydoc.sourceforge.net |