libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
sshpp::server::BindOptions Struct Reference

#include <bind.hpp>

Public Member Functions

Result< void > validate () const
 

Public Attributes

std::string bind_address = "0.0.0.0"
 
std::uint16_t port = 22
 
std::vector< std::filesystem::path > host_key_files
 At least one host key (via either field) is required.
 
std::vector< Keyhost_keys
 
std::optional< std::string > banner
 
LogLevel log_level = LogLevel::none
 

Member Function Documentation

◆ validate()

SSHPP_INLINE Result< void > sshpp::server::BindOptions::validate ( ) const

Member Data Documentation

◆ bind_address

std::string sshpp::server::BindOptions::bind_address = "0.0.0.0"

◆ port

std::uint16_t sshpp::server::BindOptions::port = 22

◆ host_key_files

std::vector<std::filesystem::path> sshpp::server::BindOptions::host_key_files

At least one host key (via either field) is required.

◆ host_keys

std::vector<Key> sshpp::server::BindOptions::host_keys

◆ banner

std::optional<std::string> sshpp::server::BindOptions::banner

◆ log_level

LogLevel sshpp::server::BindOptions::log_level = LogLevel::none

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