ssh

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct{}

Cli ...

func (*Cli) DynamicForwardLocalRequestToRemote

func (s *Cli) DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath string, remoteSSHPort int, proxyPort int) *exec.Cmd

DynamicForwardLocalRequestToRemote ssh remote port forward

func (*Cli) ForwardRemoteRequestToLocal

func (s *Cli) ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath string, remoteSSHPort int) *exec.Cmd

ForwardRemoteRequestToLocal ssh remote port forward

func (*Cli) Version

func (s *Cli) Version() *exec.Cmd

Version check sshuttle version

type CliInterface

type CliInterface interface {
	Version() *exec.Cmd
	ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath string, remoteSSHPort int) *exec.Cmd
	DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath string, remoteSSHPort int, proxyPort int) *exec.Cmd
}

CliInterface ...

Jump to

Keyboard shortcuts

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