Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 3.3% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org
proxy.golang.org : github.com/kevinburke/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/kevinburke/ssh_config
Keywords:
golang
, parser
, ssh
, ssh-config
License: MIT
Latest release: about 3 years ago
First release: about 4 years ago
Namespace: github.com/kevinburke
Dependent packages: 9,956
Dependent repositories: 19,749
Stars: 363 on GitHub
Forks: 57 on GitHub
Docker dependents: 2,522
Docker downloads: 16,114,899,840
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/kevinburke
Last synced: about 10 hours ago