ssh

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 6 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 NewClient

func NewClient(sshKeyFile, username, hostname string) (Client, error)

func (*Client) RunOne

func (c *Client) RunOne(args ...string) error

RunOne runs a single command on a given client.

func (*Client) RunOneInteractive

func (c *Client) RunOneInteractive(args ...string) error

Jump to

Keyboard shortcuts

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