Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
_ssh_params Struct Reference

Holds the connection parameters required to establish an SSH session for an SSH-based extcap capture. More...

#include <ssh-base.h>

Public Attributes

char * host
 
uint16_t port
 
char * username
 
char * password
 
char * sshkey_path
 
char * sshkey_passphrase
 
char * proxycommand
 
bool ssh_sha1
 
int debug
 

Detailed Description

Holds the connection parameters required to establish an SSH session for an SSH-based extcap capture.

Member Data Documentation

◆ debug

int _ssh_params::debug

Debug verbosity level for SSH session diagnostics; 0 disables debug output.

◆ host

char* _ssh_params::host

Hostname or IP address of the remote SSH server to connect to.

◆ password

char* _ssh_params::password

Password for password-based SSH authentication; NULL if using key-based authentication.

◆ port

uint16_t _ssh_params::port

TCP port number of the remote SSH server; typically 22.

◆ proxycommand

char* _ssh_params::proxycommand

Shell command used to establish the SSH connection via a proxy or jump host; NULL for a direct connection.

◆ ssh_sha1

bool _ssh_params::ssh_sha1

True to permit SHA-1 based host key algorithms, which may be required for older SSH servers.

◆ sshkey_passphrase

char* _ssh_params::sshkey_passphrase

Passphrase used to decrypt the private key at sshkey_path; NULL if the key is unencrypted.

◆ sshkey_path

char* _ssh_params::sshkey_path

Filesystem path to the private key file used for key-based authentication; NULL if using password authentication.

◆ username

char* _ssh_params::username

Username to authenticate with on the remote SSH server; NULL to use the current user.


The documentation for this struct was generated from the following file: