An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/inpher/ssh_config

Package ssh_config provides tools for manipulating SSH config files. Importantly, this parser attempts to preserve comments in a given file, so you can manipulate a `ssh_config` file from a program, if your heart desires. The Get() and GetStrict() functions will attempt to read values from $HOME/.ssh/config, falling back to /etc/ssh/ssh_config. The first argument is the host name to match on ("example.com"), and the second argument is the key you want to retrieve ("Port"). The keywords are case insensitive. You can also manipulate an SSH config file and then print it or write it back to disk. BUG: the Match directive is currently unsupported; parsing a config with a Match directive will trigger an error.

Ecosystem
proxy.golang.org
Latest Release
v1.1.1
about 4 years ago
Versions
2
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/inpher/ssh_config
spec
License MIT
Namespace github.com/inpher
First Release about 5 years ago
Last Synced 25 days ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 9.0%