login

package
v0.0.0-...-16a1fe3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSSHClient

func NewSSHClient(pass bool, user string, password string, ip string, port int, privateKey string) (*goph.Client, error)

func Run

func Run()

func RunTerminal

func RunTerminal(client *goph.Client, stdout, stderr io.Writer) error

func SaveToLocal

func SaveToLocal(hasPass bool, ip string, port int, user string, password string, privateKey string, aliasName string)

func VerifyHost

func VerifyHost(host string, remote net.Addr, key ssh.PublicKey) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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