sshx

package
v0.0.0-...-f7150f6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Cmd    = ExecType("Cmd")
	Script = ExecType("Script")
)

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(stdOut, stdErr io.Writer, conn *ssh.Client, execType ExecType, command string) error

func SshConnect

func SshConnect(url, user, pass, keypath string) (*ssh.Client, error)

Types

type ExecType

type ExecType string

Jump to

Keyboard shortcuts

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