sshx

package
v0.0.0-...-730a8a9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Password   = "password"
	PrivateKey = "private_key"
)

Variables

This section is empty.

Functions

func NewSshClient

func NewSshClient(config *Config) (*ssh.Client, error)

Types

type Config

type Config struct {
	IP         string
	Port       int
	Username   string
	Type       string
	Password   string
	PrivateKey string
	Timeout    int
}

Jump to

Keyboard shortcuts

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