docs: document core host and ssh modules

This commit is contained in:
Christian Visintin
2026-03-21 13:36:20 +01:00
parent 7fc61e1e90
commit 3905e8ed79
6 changed files with 35 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
//! ## SSH Utilities
//!
//! Provides small helpers for loading SSH configuration files used by bookmarks
//! and setup flows.
use ssh2_config::{ParseRule, SshConfig};
/// Parses an OpenSSH-style config file into an `ssh2_config::SshConfig`.
pub fn parse_ssh2_config(path: &str) -> Result<SshConfig, String> {
use std::fs::File;
use std::io::BufReader;