ssh

package
v0.0.0-...-6b22332 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SSHKeyNotFound constError = "ssh key not found"

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

func NewLoader

func NewLoader(prompter Prompter) *Loader

func (*Loader) LoadKey

func (l *Loader) LoadKey(path string) (ssh.Signer, error)

type Prompter

type Prompter interface {
	Password(string) (string, error)
}

Jump to

Keyboard shortcuts

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