Get SSH private and public keys.
More...
#include <SSH.h>
|
|
using | Key = std::filesystem::path |
| | One SSH key (a path to it)
|
| |
|
using | KeyPair = std::pair< Key, Key > |
| | A pair of public + private keys (in that order)
|
| |
|
using | KeyPairs = std::vector< KeyPair > |
| | A list of key pairs.
|
| |
Get SSH private and public keys.
◆ get()
| static KeyPairs SlSSH::Keys::get |
( |
const std::string & |
host | ) |
|
|
staticnoexcept |
Get keys for a host.
- Parameters
-
| host | Host to get keys for (currently ignored) |
- Returns
- Private + public keys for
host.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9/include/helpers/SSH.h