sshclient

package
v0.0.0-...-70244af Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteHostInfo

type RemoteHostInfo struct {
	Sshhost     string
	Sshuser     string
	Sshpassword string
	Sshtype     string
	Sshkeypath  string
	Sshport     int
}

远程主机信息类

func (*RemoteHostInfo) RunScript

func (r *RemoteHostInfo) RunScript(shellScript string)

运行 shell 命令的方法

Jump to

Keyboard shortcuts

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