clients

package
v0.0.0-...-9b10dc4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHClient

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

The SSH server struct

func (*SSHClient) Execute

func (client *SSHClient) Execute(command string)

Execute a command on the SSH server

func (*SSHClient) Initialize

func (client *SSHClient) Initialize(data core.SSHServerData, callback ssh.HostKeyCallback)

type SSHClientCenter

type SSHClientCenter struct {
	Servers       []*SSHClient
	Configuration core.SSHConfiguration
}

The SSH server struct

func (*SSHClientCenter) Initialize

func (s *SSHClientCenter) Initialize(configuration core.SSHConfiguration)

Initialize the SSH client center

Jump to

Keyboard shortcuts

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