#include <SSH/SSHWrapper/sshwrapper.h>
|
| SshWrapper () |
|
virtual | ~SshWrapper () |
|
bool | getFile (const QString &filePath, const QString &destinationPath) |
|
bool | isLoggedIn () const |
|
bool | login (const QString &host, const QString &user, const QString &pwd, int port, const QString &publicKeyFile, const QString &privateKeyFile, const QString &passphrase) |
|
void | logout () |
|
bool | sendCommand (const QString &command, QString &output, bool removeTrailingNewLine=true) |
|
bool | sendFile (const QString &filePath, const QString &destinationPath) |
|
◆ SshWrapper()
◆ ~SshWrapper()
◆ getFile()
bool getFile |
( |
const QString & |
filePath, |
|
|
const QString & |
destinationPath |
|
) |
| |
◆ isLoggedIn()
bool isLoggedIn |
( |
| ) |
const |
◆ login()
bool login |
( |
const QString & |
host, |
|
|
const QString & |
user, |
|
|
const QString & |
pwd, |
|
|
int |
port, |
|
|
const QString & |
publicKeyFile, |
|
|
const QString & |
privateKeyFile, |
|
|
const QString & |
passphrase |
|
) |
| |
◆ logout()
◆ sendCommand()
bool sendCommand |
( |
const QString & |
command, |
|
|
QString & |
output, |
|
|
bool |
removeTrailingNewLine = true |
|
) |
| |
◆ sendFile()
bool sendFile |
( |
const QString & |
filePath, |
|
|
const QString & |
destinationPath |
|
) |
| |