Host Output

Output module of ParallelSSH

class pssh.output.BufferData(reader, rw_buffer)
Parameters:
  • reader (gevent.Greenlet) – Greenlet reading data from channel and writing to rw_buffer
  • rw_bufffer – Read/write buffer
reader
rw_buffer
class pssh.output.HostOutput(host, channel, stdin, client, exception=None, encoding='utf-8', read_timeout=None, buffers=None)

Host output

Parameters:
  • host (str) – Host name output is for
  • channel (socket.socket compatible object) – SSH channel used for command execution
  • stdin (file()-like object) – Standard input buffer
  • client (pssh.clients.base.single.BaseSSHClient) – SSHClient output is coming from.
  • exception (Exception or None) – Exception from host if any
  • read_timeout (float) – Timeout in seconds for reading from buffers.
  • buffers (HostOutputBuffers) – Host buffer data.
buffers
channel
client
encoding
exception
exit_code
host
read_timeout
stderr
stdin
stdout
class pssh.output.HostOutputBuffers(stdout, stderr)
Parameters:
stderr
stdout