proxy

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SshClientConfig

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

func NewPassSshClient

func NewPassSshClient(address, user, password string) (*SshClientConfig, error)

func NewSshClient

func NewSshClient(address, user string, privateKeyBytes []byte, privateKeyPassword string) (*SshClientConfig, error)

func (*SshClientConfig) DialContext

func (s *SshClientConfig) DialContext(ctx context.Context, network, address string) (net.Conn, error)

func (*SshClientConfig) SshDial

func (s *SshClientConfig) SshDial() (*ssh.Client, error)

Jump to

Keyboard shortcuts

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