SshProcess Class Reference
#include <ssh.h>
Inheritance diagram for SshProcess:

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

