ape.parts.connections.sshconnection.SSHConnection.__call__

SSHConnection.__call__(command, bufsize=-1, timeout=None, get_pty=False)

a secondary interface to allow more arbitrary input

Param:
  • command: string with command to send over the ssh-connection
  • bufsize: bytes to set for the buffer
  • timeout: seconds for channel timeout
  • get_pty: needed for interactive things (like sending the sudo password)

Navigation