|
int | waitsocket (int socket_fd, LIBSSH2_SESSION *session) |
| Wait until one or more file descriptor has been changed for the socket for a time defined by timeout. More...
|
|
SSHCON * | ssh_connect (maps *conf) |
| Connect to a remote host using SSH protocol. More...
|
|
int | ssh_get_cnt (maps *conf) |
| Get the number of opened SSH connections. More...
|
|
size_t | ssh_file_exists (maps *conf, const char *targetPath, int cnt) |
| Verify if a file exists on the remote host. More...
|
|
bool | ssh_copy (maps *conf, const char *localPath, const char *targetPath, int cnt) |
| Upload a file over an opened SSH connection. More...
|
|
int | ssh_fetch (maps *conf, const char *localPath, const char *targetPath, int cnt) |
| Download a file over an opened SSH connection. More...
|
|
int | ssh_exec (maps *conf, const char *command, int cnt) |
| Execute a command over an opened SSH connection. More...
|
|
bool | ssh_close_session (maps *conf, SSHCON *con) |
| Close an opened SSH connection. More...
|
|
bool | ssh_close (maps *conf) |
| Close all the opened SSH connections. More...
|
|
bool | addToUploadQueue (maps **conf, maps *input) |
|
int | fileMd5Check (maps **conf, const char *localPath, const char *targetPath) |
|
bool | runUpload (maps **conf) |
|