ssh

package
v0.0.0-...-3277746 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHClient

type SSHClient struct {
	Host    string
	Port    int
	User    string
	Timeout time.Duration
	// contains filtered or unexported fields
}

func NewSSHClient

func NewSSHClient(host string, port int, user string, signer ssh.Signer) (*SSHClient, error)

func (*SSHClient) Run

func (s *SSHClient) Run(cmd string) (string, string, error)

Jump to

Keyboard shortcuts

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