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

This contains key configuration data for sshd on the device. More...

#include <zephyr/net/net_config.h>

Data Fields

const char * key_name
 SSH key name.
uint8_tkey_buf
 Temp buffer for loading and saving keys.
size_t key_buf_len
 Size of the key buffer in bytes.
int key_id
 Key id.
enum ssh_host_key_type key_type
 Key type.
int key_bits
 Key size in bits.
bool is_private
 Is private key?

Detailed Description

This contains key configuration data for sshd on the device.

Field Documentation

◆ is_private

bool net_config_ssh_key::is_private

Is private key?

◆ key_bits

int net_config_ssh_key::key_bits

Key size in bits.

◆ key_buf

uint8_t* net_config_ssh_key::key_buf

Temp buffer for loading and saving keys.

◆ key_buf_len

size_t net_config_ssh_key::key_buf_len

Size of the key buffer in bytes.

This is used to determine how big the buffer is for loading and saving keys.

◆ key_id

int net_config_ssh_key::key_id

Key id.

◆ key_name

const char* net_config_ssh_key::key_name

SSH key name.

This is used when saving or loading keys to identify them. The key name cannot contain spaces.

◆ key_type

enum ssh_host_key_type net_config_ssh_key::key_type

Key type.


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