ssh

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientConfig

func ClientConfig(opts ...Option) (*ssh.ClientConfig, error)

func WithInsecureIgnoreHostkey

func WithInsecureIgnoreHostkey(cc *ssh.ClientConfig)

Types

type Option

type Option func(*ssh.ClientConfig)

func DefaultKnownHostCallback

func DefaultKnownHostCallback() (Option, error)

func DefaultSignerAuth

func DefaultSignerAuth() (Option, error)

func WithIdentityFile

func WithIdentityFile(path string) (Option, error)

func WithPassword

func WithPassword(p string) Option

func WithUser

func WithUser(u string) Option

Jump to

Keyboard shortcuts

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