ssh_config

A small library to parse OpenBSD ssh_config files.

More documentation on the file format can be found in the OpenBSD man pages.

Usage example

``` use ssh_config::SSHConfig;

let config = SSHConfig::parse_str(r#" Host test-host Port 22 Username user "#)?;

let hostsettings = config.query("test-host"); asserteq!(hostsettings["Port"], "22"); asserteq!(host_settings["Username"], "User"); ```

License

This library is licensed under the Mozilla Public License, v. 2.0. The license file can be found in LICENSE.