sshd

package
v0.0.0-...-bb1a4e7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Connect

func (c *Client) Connect(host string, port string) error

func (*Client) EnrollWithKey

func (c *Client) EnrollWithKey(username string, keyData string) error

func (*Client) EnrollWithPassword

func (c *Client) EnrollWithPassword(username string, password string)

func (Client) SyncCommand

func (c Client) SyncCommand(cmds []string) ([]byte, error)

e.g. output, err := remoteRun("root", "MY_IP", "PRIVATE_KEY", "ls")

Jump to

Keyboard shortcuts

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