Host Output

Output module of ParallelSSH

class pssh.output.BufferData(reader, rw_buffer)
Parameters:
reader
rw_buffer
class pssh.output.HostOutput(host, channel, stdin, client, alias=None, 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 or None.) – SSHClient output is coming from.
  • alias (str) – Host alias.
  • exception (Exception or None) – Exception from host if any
  • read_timeout (float) – Timeout in seconds for reading from buffers.
  • buffers (HostOutputBuffers) – Host buffer data.
alias
buffers
channel
client
encoding
exception
exit_code
host
read_timeout
stderr
stdin
stdout
class pssh.output.HostOutputBuffers(stdout, stderr)
Parameters:
stderr
stdout