ssh

package
v0.0.0-...-1a23c2c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(command string, timeout time.Duration, hostAddress string, userName string, privateKey string) (string, error)

Types

type DeterministicSSHKeyPair

type DeterministicSSHKeyPair struct {
	// contains filtered or unexported fields
}

func NewDeterministicSSHKeyPair

func NewDeterministicSSHKeyPair(key, realm string) (*DeterministicSSHKeyPair, error)

func (*DeterministicSSHKeyPair) PrivateKey

func (d *DeterministicSSHKeyPair) PrivateKey() (ssh.Signer, error)

func (*DeterministicSSHKeyPair) PrivateString

func (d *DeterministicSSHKeyPair) PrivateString() (string, error)

func (*DeterministicSSHKeyPair) PublicKey

func (d *DeterministicSSHKeyPair) PublicKey() (ssh.PublicKey, error)

func (*DeterministicSSHKeyPair) PublicString

func (d *DeterministicSSHKeyPair) PublicString() (string, error)

Jump to

Keyboard shortcuts

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