ssh

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForSSH

func WaitForSSH(
	ctx context.Context,
	addr string,
	sshUser string,
	sshPassword string,
) (*ssh.Client, error)

Types

type Terminal

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

Terminal provides SSH terminal proxying with full PTY support

func NewTerminal

func NewTerminal(client *ssh.Client) *Terminal

NewTerminal creates a new SSH terminal proxy

func (*Terminal) RunInteractiveCommand

func (t *Terminal) RunInteractiveCommand(ctx context.Context, command string) error

RunInteractiveCommand runs a command with full terminal proxying

Jump to

Keyboard shortcuts

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