sshutils

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyROMToRemote

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