Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
ssh-base.h File Reference
#include <libssh/libssh.h>
#include <glib.h>
#include <extcap/extcap-base.h>

Go to the source code of this file.

Classes

struct  _ssh_params
 

Macros

#define STDERR_FILENO   2
 
#define STDOUT_FILENO   1
 
#define SSH_BASE_OPTIONS
 
#define SSH_BASE_PACKET_OPTIONS
 

Typedefs

typedef struct _ssh_params ssh_params_t
 

Functions

void add_libssh_info (extcap_parameters *extcap_conf)
 
ssh_session create_ssh_connection (const ssh_params_t *ssh_params, char **err_info)
 
int ssh_channel_printf (ssh_channel channel, const char *fmt,...)
 
void ssh_cleanup (ssh_session *sshs, ssh_channel *channel)
 
ssh_params_tssh_params_new (void)
 
void ssh_params_free (ssh_params_t *ssh_params)
 
void ssh_params_set_log_level (ssh_params_t *ssh_params, enum ws_log_level level)
 

Detailed Description

ssh-base has base utility functions to connect to hosts via ssh

Copyright 2016, Dario Lombardo

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

Macro Definition Documentation

◆ SSH_BASE_OPTIONS

#define SSH_BASE_OPTIONS
Value:
{ "remote-host", ws_required_argument, NULL, OPT_REMOTE_HOST}, \
{ "remote-port", ws_required_argument, NULL, OPT_REMOTE_PORT}, \
{ "remote-username", ws_required_argument, NULL, OPT_REMOTE_USERNAME}, \
{ "remote-password", ws_required_argument, NULL, OPT_REMOTE_PASSWORD}, \
{ "remote-count", ws_required_argument, NULL, OPT_REMOTE_COUNT}, \
{ "sshkey", ws_required_argument, NULL, OPT_SSHKEY}, \
{ "sshkey-passphrase", ws_required_argument, NULL, OPT_SSHKEY_PASSPHRASE}, \
{ "proxycommand", ws_required_argument, NULL, OPT_PROXYCOMMAND}, \
{ "ssh-sha1", ws_no_argument, NULL, OPT_SSH_SHA1}

◆ SSH_BASE_PACKET_OPTIONS

#define SSH_BASE_PACKET_OPTIONS
Value:
SSH_BASE_OPTIONS, \
{ "remote-interface", ws_required_argument, NULL, OPT_REMOTE_INTERFACE}, \
{ "remote-filter", ws_required_argument, NULL, OPT_REMOTE_FILTER}