KDEsu
SshProcess Class Reference
Executes a remote command, using ssh. More...
#include <ssh.h>
Inheritance diagram for SshProcess:

| Public Types | |
| enum | Errors { SshNotFound = 1, SshNeedsPassword, SshIncorrectPassword } | 
| Public Member Functions | |
| int | checkInstall (const char *password) | 
| int | checkNeedPassword () | 
| QCString | error () | 
| int | exec (const char *password, int check=0) | 
| QCString | prompt () | 
| void | setHost (const QCString &host) | 
| void | setStub (const QCString &stub) | 
| SshProcess (const QCString &host=0, const QCString &user=0, const QCString &command=0) | |
| ~SshProcess () | |
| Protected Member Functions | |
| virtual QCString | dcopServer () | 
| virtual QCString | display () | 
| virtual QCString | displayAuth () | 
| virtual void | virtual_hook (int id, void *data) | 
Detailed Description
Executes a remote command, using ssh.Definition at line 26 of file ssh.h.
Member Enumeration Documentation
| enum SshProcess::Errors | 
Constructor & Destructor Documentation
Member Function Documentation
| int SshProcess::checkInstall | ( | const char * | password | ) | 
| int SshProcess::checkNeedPassword | ( | ) | 
| QCString SshProcess::dcopServer | ( | ) |  [protected, virtual] | 
| QCString SshProcess::display | ( | ) |  [protected, virtual] | 
This virtual function can be overloaded when special behavior is desired.
By default, it returns the value returned by KCookie.
Reimplemented from StubProcess.
| void SshProcess::setHost | ( | const QCString & | host | ) |  [inline] | 
| void SshProcess::setStub | ( | const QCString & | stub | ) | 
| void SshProcess::virtual_hook | ( | int | id, | |
| void * | data | |||
| ) |  [protected, virtual] | 
The documentation for this class was generated from the following files:
 KDE 3.5 API Reference
    KDE 3.5 API Reference