Help us shape the future of Go! Take the 2026 Go Developer Survey

clipty

package
v1.3.104 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clipty cmd/skywire-cli/commands/pty/root.go c4-vis-cli the unified namespace for the skywire pty subsystem: a remote shell and a remote-filesystem mount, plus the host (server) side, all keyed by public key over a noise-XK connection (no SSH involved).

pty host          — serve the pty subsystem on a TCP port (was `cli sshd`)
pty shell         — open a remote shell to a peer          (was `cli ssh`)
pty fs            — mount a peer's filesystem               (was `cli sshfs`)
pty exec/start    — one-shot / interactive shell over the dmsg overlay
pty list/ui/url   — list peers, open the dmsgpty UI         (was `cli dmsg pty …`)

The exec/start/list/ui/url commands were re-parented here from `cli dmsg pty` (their RunE closures still live in the dmsg package; only the parent moved).

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "pty",
	Short: "Remote shell & filesystem over the skywire pty subsystem (key-addressed, noise-XK)",
	Long: `skywire cli pty — remote shell, remote command exec, and remote-
filesystem access over the skywire pty subsystem. Every form is keyed by
public key over a noise-XK connection; there is no SSH involved (the names
parallel ssh/sshd/sshfs only by analogy).

  pty exec   run a one-shot command on a peer visor (no TTY; scriptable)
  pty start  open an interactive shell to a peer over the dmsg overlay
  pty shell  open an interactive shell / one-shot exec over direct-TCP
  pty fs     mount a peer's filesystem (sftp + FUSE)
  pty host   serve the pty subsystem on a TCP port (peers connect by PK)
  pty list   list the visors currently connected over dmsg
  pty ui     open the dmsgpty web UI in a browser
  pty url    print the dmsgpty web UI URL

Transport vocabulary (shared with 'cli dmsg scp'): --transport
auto|dmsg|skynet|tcp, with per-command support (see each subcommand's
--help for its own matrix). 'auto' preserves each command's historical
default. Scheme-prefixed targets — dmsg://<pk>, skynet://<pk>,
tcp://<pk>@host:port — select the transport inline.`,
	SilenceErrors:         true,
	SilenceUsage:          true,
	DisableSuggestions:    true,
	DisableFlagsInUseLine: true,
}

RootCmd is `skywire cli pty`.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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