ssh

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSshClient

func NewSshClient(mc *common.Machine) (*ssh.Client, error)

func RunSshServer

func RunSshServer()

Types

type LogicSshSession

type LogicSshSession struct {
	// contains filtered or unexported fields
}

func NewLogicSshSession

func NewLogicSshSession(mc *common.Machine) (*LogicSshSession, error)

func (*LogicSshSession) Close

func (ss *LogicSshSession) Close()

Close

func (*LogicSshSession) Read

func (ss *LogicSshSession) Read() []byte

func (*LogicSshSession) ResizeTerminal

func (ss *LogicSshSession) ResizeTerminal(rows, cols int) error

func (*LogicSshSession) Write

func (ss *LogicSshSession) Write(data []byte) error

Jump to

Keyboard shortcuts

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