Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadServerKeyMsg = "server key for given host differs from key in known_host" ErrUnknownServerKeyMsg = "server key not found in known_hosts" )
Functions ¶
func NewSSHClientConfig ¶
Types ¶
type Config ¶
type Config struct { Identity string PassPhrase string PasswordCallback PasswordCallback PassPhraseCallback PassPhraseCallback HostKeyCallback HostKeyCallback }
type ContextDialer ¶
type ContextDialer interface {
DialContext(ctx context.Context, network, address string) (net.Conn, error)
}
func NewDialContext ¶
type DialContextFn ¶
type HostKeyCallback ¶
func NewHostKeyCbk ¶
func NewHostKeyCbk() HostKeyCallback
type PassPhraseCallback ¶
func NewPassPhraseCbk ¶
func NewPassPhraseCbk() PassPhraseCallback
type PasswordCallback ¶
func NewPasswordCbk ¶
func NewPasswordCbk() PasswordCallback
Click to show internal directories.
Click to hide internal directories.