Top 4.8% dependent repos on proxy.golang.org
proxy.golang.org : github.com/trzsz/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.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/trzsz/ssh_config
License: MIT
Latest release: 11 months ago
First release: almost 2 years ago
Namespace: github.com/trzsz
Dependent packages: 2
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 27 days ago