ssh

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SSHSigner ssh.Signer

SSHSigner public key

Functions

func Run

func Run(ctx context.Context, pool *sshpool.Pool, addr string, cmd string) (result *tlw.RunResult)

Run executes command on the target address by SSH.

func SSHConfig

func SSHConfig() *ssh.ClientConfig

getSSHConfig provides default config for SSH.

Types

This section is empty.

Jump to

Keyboard shortcuts

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