syz_ssh

package
v0.0.0-...-4e6bda9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicKeyFile

func PublicKeyFile(file string) ssh.AuthMethod

Types

type SSHClient

type SSHClient struct {
	Config  *ssh.ClientConfig
	Host    string
	DestDir string
	Port    int
	Conn    *ssh.Client
}

func NewClient

func NewClient(port int, destDir, sshKey, sshUser, host string) (client *SSHClient)

func (*SSHClient) RunStrace

func (client *SSHClient) RunStrace(config domain.WorkloadConfig) error

type SSHCommand

type SSHCommand struct {
	Path   string
	Args   []string
	Env    []string
	Stdin  io.Reader
	Stdout io.Writer
	Stderr io.Writer
}

Jump to

Keyboard shortcuts

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