command

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "alpamon",
	Short: "Alpacon agent: outbound-only server connection for AI-native PAM",
	Long: `Alpamon is the open-source server agent for Alpacon, the AI-native PAM
control plane. Installed on each managed server, alpamon establishes an
outbound-only connection to Alpacon (no inbound ports, no firewall changes)
and enforces server-side decisions locally: command execution, file
transfer, sudo verification (via alpamon-pam), and remote management.

Typical usage:

  alpamon register --url https://<workspace> --token <TOKEN>   # one-time setup
  systemctl status alpamon                                     # service state
  alpamon migrate --to-workspace <new-workspace>               # workspace move

After 'register' completes, the agent runs as a system service and operates
on its own. Other subcommands (ftp, setup, tunnel-daemon) are internal
workers spawned by the agent itself and are not meant to be invoked by users.

Run 'alpamon <command> --help' for details. See https://alpacon.io for the
control plane and https://github.com/alpacax/alpacon-cli for the CLI.`,
	Version: version.Version,
	Run: func(cmd *cobra.Command, args []string) {

		if runningAsWindowsService() {
			runService()
			return
		}
		runAgent(nil)
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package migrate implements the `alpamon migrate` subcommand: move this agent from its current Alpacon workspace to a different one without requiring any back-channel access (SSH, console, etc.) — the only channel available is assumed to be the existing alpacon Websh session.
Package migrate implements the `alpamon migrate` subcommand: move this agent from its current Alpacon workspace to a different one without requiring any back-channel access (SSH, console, etc.) — the only channel available is assumed to be the existing alpacon Websh session.

Jump to

Keyboard shortcuts

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