Registry / config / kevinburke-ssh-config

kevinburke-ssh-config

JSON →
library1.6.0gogounverified

Package ssh_config provides tools for manipulating SSH config files.

go get github.com/kevinburke/ssh_config
INSTALL
IMPORT
SIG · KEVINBURKE-SSH-CON
K
kevinburke-ssh-config
configgov1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ssh_config
github.com/kevinburke/ssh_config

Decode an SSH config file and print the list of hosts.

package main import ( "fmt" "github.com/kevinburke/ssh_config" ) func main() { cfg, err := ssh_config.DecodeFile("/home/user/.ssh/config") if err != nil { panic(err) } fmt.Printf("Hosts: %v\n", cfg.Hosts) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Resources
kevinburke-ssh-config — go get kevinburke-ssh-config · libregistry