host

package
v0.0.0-...-681ab0a Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Key          string
	Hostname     string
	Port         string
	User         string
	IdentityFile string

	Options map[string]string
	// contains filtered or unexported fields
}

func CreateFromConfig

func CreateFromConfig(h *ssh_config.Host) *Host

func (*Host) Password

func (h *Host) Password() (password string)

func (*Host) PrivateKey

func (h *Host) PrivateKey() (pk string)

Jump to

Keyboard shortcuts

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