17 #include <libssh/libssh.h>
24 #define STDERR_FILENO 2
28 #define STDOUT_FILENO 1
31 #define SSH_BASE_OPTIONS \
32 { "remote-host", ws_required_argument, NULL, OPT_REMOTE_HOST}, \
33 { "remote-port", ws_required_argument, NULL, OPT_REMOTE_PORT}, \
34 { "remote-username", ws_required_argument, NULL, OPT_REMOTE_USERNAME}, \
35 { "remote-password", ws_required_argument, NULL, OPT_REMOTE_PASSWORD}, \
36 { "remote-interface", ws_required_argument, NULL, OPT_REMOTE_INTERFACE}, \
37 { "remote-filter", ws_required_argument, NULL, OPT_REMOTE_FILTER}, \
38 { "remote-count", ws_required_argument, NULL, OPT_REMOTE_COUNT}, \
39 { "sshkey", ws_required_argument, NULL, OPT_SSHKEY}, \
40 { "sshkey-passphrase", ws_required_argument, NULL, OPT_SSHKEY_PASSPHRASE}, \
41 { "proxycommand", ws_required_argument, NULL, OPT_PROXYCOMMAND}
49 char* sshkey_passphrase;
58 ssh_session create_ssh_connection(
const ssh_params_t* ssh_params,
char** err_info);
61 int ssh_channel_printf(ssh_channel channel,
const char* fmt, ...);
64 void ssh_cleanup(ssh_session* sshs, ssh_channel* channel);
Definition: extcap-base.h:60
Definition: ssh-base.h:43