sshutils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyROMToRemote added in v1.1.0

func CopyROMToRemote(client *ssh.Client, localFilePath, remoteFilePath string) error

func EstablishSSHConnection

func EstablishSSHConnection(config SSHConfig) (*ssh.Client, error)

func ExecuteRemoteCommand

func ExecuteRemoteCommand(client *ssh.Client, command string) (string, error)

Types

type SSHConfig

type SSHConfig struct {
	Host     string
	Port     int
	Username string
	KeyPath  string
}

Jump to

Keyboard shortcuts

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