ssh

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoSSH     = errors.New("ssh connection failed")
	ErrRtries    = errors.New("retries exceeded")
	ErrNoHost    = errors.New("no input host provided")
	ErrNoSession = errors.New("no session")
)

Functions

This section is empty.

Types

type SSH

type SSH struct {
	// contains filtered or unexported fields
}

func New

func New(host, port string, rtries, Timeout int) (*SSH, error)

func (*SSH) AuthRtries

func (s *SSH) AuthRtries(host, username, password string) error

Jump to

Keyboard shortcuts

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