util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSimpleSSHClient

func CreateSimpleSSHClient(sshUser, sshPassword, sshAddr string) (*ssh.Client, error)

CreateSimpleSSHClient no doc

func NewSSHClientConfig

func NewSSHClientConfig(sshUser, sshPassword, sshType, sshKey, sshKeyPassword string) (config *ssh.ClientConfig, err error)

NewSSHClientConfig no doc

func SSHRemoteRunCommand

func SSHRemoteRunCommand(sshClient *ssh.Client, command string) (string, error)

SSHRemoteRunCommand no doc

Types

This section is empty.

Jump to

Keyboard shortcuts

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