pwauth

package
v0.0.0-...-52d5758 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientAuthPrompt

func ClientAuthPrompt(userName, host string) ssh.ClientAuth

Types

type PasswordPrompt

type PasswordPrompt struct {
	UserName string
	Host     string
	// contains filtered or unexported fields
}

func NewPasswordPrompt

func NewPasswordPrompt(userName, host string) PasswordPrompt

func (PasswordPrompt) Password

func (p PasswordPrompt) Password(userName string) (string, error)

Jump to

Keyboard shortcuts

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