sshconfig

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2013 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHConfig

type SSHConfig struct {
	Path  string
	Hosts []*SSHHost
}

func Parse

func Parse(path string) (*SSHConfig, error)

func (*SSHConfig) FindHost

func (c *SSHConfig) FindHost(host string) *SSHHost

func (*SSHConfig) Store

func (c *SSHConfig) Store()

type SSHHost

type SSHHost struct {
	Host  string
	Attrs map[string]string
}

func NewHost

func NewHost(host string) *SSHHost

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL