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

#include <test_server.hpp>

Collaboration diagram for sshpp::server::TestServer::Options:
[legend]

Public Attributes

std::string user = "testuser"
 
SecureString password {"testpass"}
 
std::vector< Keyauthorized_keys
 
bool allow_password = true
 
bool allow_public_key = true
 
std::optional< std::filesystem::path > sftp_root
 
std::function< int(std::string_view, std::istream &, std::ostream &, std::ostream &)> exec
 

Member Data Documentation

◆ user

std::string sshpp::server::TestServer::Options::user = "testuser"

◆ password

SecureString sshpp::server::TestServer::Options::password {"testpass"}

◆ authorized_keys

std::vector<Key> sshpp::server::TestServer::Options::authorized_keys

◆ allow_password

bool sshpp::server::TestServer::Options::allow_password = true

◆ allow_public_key

bool sshpp::server::TestServer::Options::allow_public_key = true

◆ sftp_root

std::optional<std::filesystem::path> sshpp::server::TestServer::Options::sftp_root

◆ exec

std::function<int(std::string_view, std::istream&, std::ostream&, std::ostream&)> sshpp::server::TestServer::Options::exec

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