#### PyKDE - Python Bindings for KDE

# class SshProcess

Table of contents
Modules
kdesu Classes
All Classes

Module | kdesu
Class | SshProcess
Inherits | StubProcess

### enums

- Errors = {SshNotFound = 1, SshNeedsPassword, SshIncorrectPassword }

### methods

- SshProcess (host = 0, user = 0, command = 0)

  returns a SshProcess instance
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  host | QCString | 0
  user | QCString | 0
  command | QCString | 0

- checkInstall (password)

  returns (int)
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  password | char |

- checkNeedPassword ()

  returns (int)
  In versions KDE 3.0.1 and above only

- dcopServer ()

  returns (QCString)
  In versions KDE 3.0.1 and above only

- display ()

  returns (QCString)
  In versions KDE 3.0.1 and above only

- displayAuth ()

  returns (QCString)
  In versions KDE 3.0.1 and above only

- error ()

  returns (QCString)
  In versions KDE 3.0.1 and above only

- exec_ (password, check = 0)

  returns (int)
  Renamed: was ' exec' in C++
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  password | char |
  check | int | 0

- prompt ()

  returns (QCString)
  In versions KDE 3.0.1 and above only

- setHost (host)

  returns nothing
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  host | QCString |

- setStub (stub)

  returns nothing
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  stub | QCString |