cmd

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 66 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func SSHClient

func SSHClient(user, keyfile, host string, port int) error

SSHClient opens an interactive ssh session to the host on port with user, authenticated by the key.

func SSHClientOverSOCKS5 added in v0.12.7

func SSHClientOverSOCKS5(user, keyfile, host string, port int, proxyAddr string) error

Types

type TailscalePeerStatus added in v0.12.7

type TailscalePeerStatus struct {
	HostName     string
	TailscaleIPs []string
}

type TailscaleStatus added in v0.12.7

type TailscaleStatus struct {
	Peer map[string]*TailscalePeerStatus
}

TailscaleStatus and TailscalePeerStatus structs are used to parse VPN IP for the machine

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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