Executes a remote command, using ssh.
More...
#include <ssh.h>
List of all members.
Detailed Description
Executes a remote command, using ssh.
Definition at line 26 of file ssh.h.
Member Function Documentation
| int SshProcess::checkInstall |
( |
const char * |
password | ) |
|
Checks if the stub is installed and if the password is correct.
- Returns:
- Zero if everything is correct, nonzero otherwise.
Definition at line 63 of file ssh.cpp.
| int SshProcess::checkNeedPassword |
( |
| ) |
|
Checks if the current user@host needs a password.
- Returns:
- The prompt for the password if a password is required. A null string otherwise.
- Todo:
- The return doc is so obviously wrong that the C code needs to be checked.
Definition at line 69 of file ssh.cpp.
| 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.
Definition at line 260 of file ssh.cpp.
| int SshProcess::exec |
( |
const char * |
password, |
|
|
int |
check = 0 |
|
) |
| |
Executes the command.
Definition at line 75 of file ssh.cpp.
| void SshProcess::setHost |
( |
const QCString & |
host | ) |
[inline] |
Sets the target host.
Definition at line 37 of file ssh.h.
| void SshProcess::setStub |
( |
const QCString & |
stub | ) |
|
Sets the localtion of the remote stub.
Definition at line 57 of file ssh.cpp.
The documentation for this class was generated from the following files: