Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicForward ¶
DynamicForward defines a single dynamic port forward entry
func NewDynamicForward ¶
func NewDynamicForward(f string) (DynamicForward, error)
NewDynamicForward returns DForward object parsed from DynamicForward string
type Forward ¶
Forward defines a single port forward entry
func NewForward ¶
NewForward returns Forward object parsed from LocalForward or RemoteForward string
type SSHHost ¶
type SSHHost struct {
Host []string
HostName string
User string
Port int
ProxyCommand string
HostKeyAlgorithms string
IdentityFile string
LocalForwards []Forward
RemoteForwards []Forward
DynamicForwards []DynamicForward
}
SSHHost defines a single host entry in a ssh config
func MustParseSSHConfig ¶
MustParseSSHConfig must parse the SSH config given by path or it will panic Deprecated: Use MustParse instead.
func ParseSSHConfig ¶
ParseSSHConfig parses a SSH config given by path. Deprecated: Use Parse instead.
Click to show internal directories.
Click to hide internal directories.