|
NCL Composer
0.1.5
|
Public Member Functions | |
| SimpleSSHClient (const char *username, const char *password, const char *hostip, const char *remotepath) | |
| Configures the machine properties. | |
| int | doConnect () |
| Connect to a remote machine. | |
| void | doDisconnect () |
| Disconnect from the current connected remote machine. | |
| int | sftp_copy_file (const char *localfile, const char *destpath) |
| Copy the file from localpath to the remotepath. | |
| int | exec_cmd (const char *command) |
| Executes a command in the remote machine. | |
Static Public Member Functions | |
| static int | init () |
| Initialize the libssh2 library. More... | |
| static void | exit () |
| Free all data of libssh2. | |
| static int | waitsocket (int socket_fd, LIBSSH2_SESSION *session) |
Definition at line 42 of file SimpleSSHClient.h.
|
static |
Initialize the libssh2 library.
This function must be called only one time (possible in the beginning of your program).
Definition at line 57 of file SimpleSSHClient.cpp.