Documentation
¶
Overview ¶
Package sshconfig contains methods for reading and parsing ssh_config files. Once parsing is complete, it will create a new model.Host object from every found host declaration and return an array of hosts.
Package sshconfig provides utilities for parsing and validating SSH configuration files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer is responsible for reading and tokenizing an SSH config file.
func NewFileLexer ¶
NewFileLexer creates a new instance of Lexer for the given SSH config file path.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is responsible for parsing SSH configuration tokens into Host models.
Click to show internal directories.
Click to hide internal directories.