Discover Packages
github.com/getoutreach/gobox
pkg
sshconfig
package
Version:
v1.57.1
Opens a new window with list of versions in this module.
Published: Jan 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types Get(ctx, host, field)
Documentation
¶
Package sshconfig implements a small ssh config parser
based on the output of `ssh -G`.
Get returns the value of a key in the ssh config for a given host.
An error is only returned when a key is not found. Note: a field will
usually have default values returned, e.g. IdentityFile.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.