|
Public Slots inherited from SshCommand |
void | setSshCommand (const QString &command) |
|
void | setScpCommand (const QString &command) |
|
virtual bool | execute (const QString &command) |
|
virtual bool | copyTo (const QString &localFile, const QString &remoteFile) |
|
virtual bool | copyFrom (const QString &remoteFile, const QString &localFile) |
|
virtual bool | copyDirTo (const QString &localDir, const QString &remoteDir) |
|
virtual bool | copyDirFrom (const QString &remoteDir, const QString &localDir) |
|
void | setPersistent (bool persist) |
|
void | setUserName (const QString &newUserName) |
|
void | setHostName (const QString &newHostName) |
|
void | setIdentityFile (const QString &newIdentityFile) |
|
void | setPortNumber (int newPortNumber) |
|
virtual bool | execute (const QString &command) |
|
virtual bool | copyTo (const QString &localFile, const QString &remoteFile) |
|
virtual bool | copyFrom (const QString &remoteFile, const QString &localFile) |
|
virtual bool | copyDirTo (const QString &localDir, const QString &remoteDir) |
|
virtual bool | copyDirFrom (const QString &remoteDir, const QString &localDir) |
|
void | requestSent () |
|
void | requestComplete () |
|
Protected Slots inherited from SshCommand |
void | processStarted () |
|
void | processFinished () |
|
static bool | debug () |
|
Protected Attributes inherited from SshCommand |
QString | m_sshCommand |
|
QString | m_scpCommand |
|
QString | m_output |
|
int | m_exitCode |
|
TerminalProcess * | m_process |
|
bool | m_isComplete |
|
bool | m_persistent |
|
QVariant | m_data |
|
QString | m_userName |
|
QString | m_hostName |
|
QString | m_identityFile |
|
int | m_portNumber |
|
Concrete implementation of SshCommand using commandline plink/pscp.
- Author
- Marcus D. Hanwell, David C. Lonie, Chris Harris
The PuttyCommand provides an implementation of the SshCommand interface that calls the commandline plink and pscp executables in a TerminalProcess.
When writing code that needs ssh functionality, the code should use the SshConnection interface instead.