sshclient

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientConfig

func ClientConfig(user string, keyPath []byte, pass string) (*ssh.ClientConfig, error)

ClientConfig ssh login authentication method

func KeyToBytes

func KeyToBytes(keyPath string) []byte

KeyToBytes convert key to bytes

func TerminalConn

func TerminalConn(user string, keyPath []byte, ipAddr string, port string, pass string) error

TerminalConn is use for making ssh connection with pty request

Types

This section is empty.

Jump to

Keyboard shortcuts

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