remoteshell

package
v0.0.0-...-d25dbbd Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package remoteshell owns remote shell execution decisions and transport.

Remote shell egress is derived from the AppOS-side tunnel endpoint so the managed server never receives raw external proxy coordinates.

Index

Constants

View Source
const (
	TransportDirectSSH        = "direct_ssh"
	TransportTunnelControlSSH = "tunnel_control_plane"
)

Variables

This section is empty.

Functions

func BuildTunnelProxyEnv

func BuildTunnelProxyEnv(app core.App, serverID string, apposBaseURL string) (map[string]string, string, error)

Types

type ExecutionPlan

type ExecutionPlan struct {
	Config     terminal.ConnectorConfig
	Env        map[string]string
	Transport  string
	Warnings   []string
	Source     string
	PolicyMode string
}

func ResolveExecutionPlan

func ResolveExecutionPlan(app core.App, access servers.AccessConfig, serverID string, apposBaseURL string) (ExecutionPlan, error)

Jump to

Keyboard shortcuts

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