ssh

package
v0.0.0-...-b73d3df Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHClient

type SSHClient struct {
	User       string
	KeyFile    string
	RemoteAddr string
	TryTime    int
	// contains filtered or unexported fields
}

func New

func New(addr string, user string, sshKeyFile string) (cli *SSHClient)

func (*SSHClient) Dial

func (cli *SSHClient) Dial() (err error)

func (*SSHClient) SSHDial

func (cli *SSHClient) SSHDial(addr string) (conn net.Conn, err error)

Jump to

Keyboard shortcuts

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