![]() |
Workspace 7.1.0
|
#include <SSH/SSHPlugin/sshsession.h>
Public Member Functions | |
SshSession () | |
SshSession (const SshSession &) | |
virtual | ~SshSession () |
bool | getFile (const QString &filePath, const QString &destinationPath) |
bool | isLoggedIn () const |
bool | login (const QString &host, const QString &user, const QString &pwd, int port=22, const QString &publicKeyFile="", const QString &privateKeyFile="", const QString &passphrase="") |
void | logout () |
SshSession & | operator= (const SshSession &) |
bool | sendCommand (const QString &command, QString &output, bool removeTrailingNewLine=true) |
bool | sendFile (const QString &filePath, const QString &destinationPath) |
Represents an ssh session
|
default |
SshSession | ( | const SshSession & | rhs | ) |
|
virtualdefault |
bool getFile | ( | const QString & | filePath, |
const QString & | destinationPath | ||
) |
bool isLoggedIn | ( | ) | const |
bool login | ( | const QString & | host, |
const QString & | user, | ||
const QString & | pwd, | ||
int | port = 22 , |
||
const QString & | publicKeyFile = "" , |
||
const QString & | privateKeyFile = "" , |
||
const QString & | passphrase = "" |
||
) |
void logout | ( | ) |
SshSession & operator= | ( | const SshSession & | rhs | ) |
bool sendCommand | ( | const QString & | command, |
QString & | output, | ||
bool | removeTrailingNewLine = true |
||
) |
bool sendFile | ( | const QString & | filePath, |
const QString & | destinationPath | ||
) |