sshclient

package
v0.0.0-...-8adcce8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCMD

func RunCMD(client *ssh.Client, cmdString string) (rtnString string)

runCMD - 执行

func SSHDial

func SSHDial(hostname string, port string, username string, password string) (*ssh.Client, error)

sshDial - 连接到SSH服务器

Types

This section is empty.

Jump to

Keyboard shortcuts

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