Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell_ssh_context Struct Reference

SSH transport user data. More...

#include <zephyr/shell/shell_ssh.h>

Data Fields

const struct shellsh
 Shell instance associated with this transport.
struct shell_sshssh
 Shell SSH transport API.
struct ssh_channel * channel
 SSH channel associated with this transport.
struct ssh_transport * transport
 SSH transport associated with this user data.
struct shell_ssh_passwd password
 SSH server password storage.
int ssh_instance
 Instance of the SSH connection (could be client or server).
bool in_use
 Is this context in use (server-side pool tracking).

Detailed Description

SSH transport user data.

This structure holds the user data for the shell SSH transport. It is passed to the transport event callback and can be used to store any necessary context for the transport.

Field Documentation

◆ channel

struct ssh_channel* shell_ssh_context::channel

SSH channel associated with this transport.

◆ in_use

bool shell_ssh_context::in_use

Is this context in use (server-side pool tracking).

◆ password

struct shell_ssh_passwd shell_ssh_context::password

SSH server password storage.

◆ sh

const struct shell* shell_ssh_context::sh

Shell instance associated with this transport.

◆ ssh

struct shell_ssh* shell_ssh_context::ssh

Shell SSH transport API.

◆ ssh_instance

int shell_ssh_context::ssh_instance

Instance of the SSH connection (could be client or server).

◆ transport

struct ssh_transport* shell_ssh_context::transport

SSH transport associated with this user data.


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