Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
komando
command
Command komando manages servers, databases, queues, storage, clusters and VPNs, for people and AI agents.
|
Command komando manages servers, databases, queues, storage, clusters and VPNs, for people and AI agents. |
|
internal
|
|
|
browserx
Package browserx shows a sign-in page in a browser window and reads the address the sign-in ends on.
|
Package browserx shows a sign-in page in a browser window and reads the address the sign-in ends on. |
|
cachex
Package cachex talks to Redis-compatible caches (Redis, Valkey, KeyDB, Dragonfly) and memcached, and classifies their commands by risk.
|
Package cachex talks to Redis-compatible caches (Redis, Valkey, KeyDB, Dragonfly) and memcached, and classifies their commands by risk. |
|
cli
Package cli wires every komando command.
|
Package cli wires every komando command. |
|
cloud
Package cloud holds komando's own clients for cloud and secret-manager APIs, so no vendor CLI (aws, gcloud, vault) has to be installed (docs/design/code-layout.md).
|
Package cloud holds komando's own clients for cloud and secret-manager APIs, so no vendor CLI (aws, gcloud, vault) has to be installed (docs/design/code-layout.md). |
|
dbx
Package dbx runs classified SQL against a conn and turns the result into plain JSON values.
|
Package dbx runs classified SQL against a conn and turns the result into plain JSON values. |
|
driver
Package driver describes the kinds of non-SSH resources komando can talk to (databases, caches, queues, object storage) and the risk levels its safety checks work with.
|
Package driver describes the kinds of non-SSH resources komando can talk to (databases, caches, queues, object storage) and the risk levels its safety checks work with. |
|
engine
Package engine holds what one komando call is: who makes it and the state of its approvals.
|
Package engine holds what one komando call is: who makes it and the state of its approvals. |
|
flock
Package flock takes and releases an exclusive lock on an open file, so komando processes running at the same time wait for each other.
|
Package flock takes and releases an exclusive lock on an open file, so komando processes running at the same time wait for each other. |
|
ipsec
Package ipsec holds komando's own IPsec clients: IKEv1 (for L2TP/IPsec and Cisco-style IPsec with XAUTH) and IKEv2, with ESP carried in UDP (RFC 3948), so they run as an ordinary program without admin rights and without changing the computer's network: komando always tells the server it is behind NAT, so ESP never needs a raw socket.
|
Package ipsec holds komando's own IPsec clients: IKEv1 (for L2TP/IPsec and Cisco-style IPsec with XAUTH) and IKEv2, with ESP carried in UDP (RFC 3948), so they run as an ordinary program without admin rights and without changing the computer's network: komando always tells the server it is behind NAT, so ESP never needs a raw socket. |
|
kube
Package kube talks to the Kubernetes API directly over HTTPS, from one kubeconfig context, without client-go.
|
Package kube talks to the Kubernetes API directly over HTTPS, from one kubeconfig context, without client-go. |
|
l2tp
Package l2tp is komando's own L2TP client (RFC 2661): one tunnel with one session carrying PPP, which logs in and brings up IPv4.
|
Package l2tp is komando's own L2TP client (RFC 2661): one tunnel with one session carrying PPP, which logs in and brings up IPv4. |
|
netx
Package netx opens the networks komando reaches targets through (docs/features/vpn.md).
|
Package netx opens the networks komando reaches targets through (docs/features/vpn.md). |
|
openvpn
Package openvpn is komando's own OpenVPN client: the control channel (TLS over OpenVPN's reliable transport, with tls-auth or tls-crypt), the key exchange (key-method 2, TLS-EKM or the OpenVPN PRF), the data channel (AES-GCM, ChaCha20-Poly1305, or AES-CBC with HMAC) and the pushed options.
|
Package openvpn is komando's own OpenVPN client: the control channel (TLS over OpenVPN's reliable transport, with tls-auth or tls-crypt), the key exchange (key-method 2, TLS-EKM or the OpenVPN PRF), the data channel (AES-GCM, ChaCha20-Poly1305, or AES-CBC with HMAC) and the pushed options. |
|
out
Package out renders every command result as a stable, machine-readable envelope.
|
Package out renders every command result as a stable, machine-readable envelope. |
|
policy
Package policy detects destructive commands so an agent cannot wreck a server by accident.
|
Package policy detects destructive commands so an agent cannot wreck a server by accident. |
|
ppp
Package ppp is a minimal PPP peer for the VPNs that carry PPP (L2TP): LCP (RFC 1661), IPCP with DNS (RFC 1332, RFC 1877) and the logins the server asks for: CHAP-MD5 (RFC 1994), MS-CHAPv2 (RFC 2759, with the server's proof checked) and, only when the VPN allows it, PAP (RFC 1334), which sends the password itself.
|
Package ppp is a minimal PPP peer for the VPNs that carry PPP (L2TP): LCP (RFC 1661), IPCP with DNS (RFC 1332, RFC 1877) and the logins the server asks for: CHAP-MD5 (RFC 1994), MS-CHAPv2 (RFC 2759, with the server's proof checked) and, only when the VPN allows it, PAP (RFC 1334), which sends the password itself. |
|
proxyx
Package proxyx sends komando's HTTPS clients through the company proxy that the environment names (HTTPS_PROXY, HTTP_PROXY, NO_PROXY), as curl, kubectl and docker do.
|
Package proxyx sends komando's HTTPS clients through the company proxy that the environment names (HTTPS_PROXY, HTTP_PROXY, NO_PROXY), as curl, kubectl and docker do. |
|
proxyx/proxytest
Package proxytest is a small HTTP CONNECT proxy for tests.
|
Package proxytest is a small HTTP CONNECT proxy for tests. |
|
queuex
Package queuex talks to message queues for `komando queue`: Apache Kafka (and what speaks its protocol: Redpanda, MSK, Confluent Cloud) through franz-go, and the engines that register themselves from its subfolders (RabbitMQ, NATS JetStream, Amazon SQS, Google Cloud Pub/Sub).
|
Package queuex talks to message queues for `komando queue`: Apache Kafka (and what speaks its protocol: Redpanda, MSK, Confluent Cloud) through franz-go, and the engines that register themselves from its subfolders (RabbitMQ, NATS JetStream, Amazon SQS, Google Cloud Pub/Sub). |
|
queuex/nats
Package nats is the NATS JetStream engine of `komando queue`, through github.com/nats-io/nats.go.
|
Package nats is the NATS JetStream engine of `komando queue`, through github.com/nats-io/nats.go. |
|
queuex/pubsub
Package pubsub is the Google Cloud Pub/Sub engine of `komando queue`.
|
Package pubsub is the Google Cloud Pub/Sub engine of `komando queue`. |
|
queuex/rabbitmq
Package rabbitmq is the RabbitMQ engine of `komando queue` (AMQP 0-9-1, through github.com/rabbitmq/amqp091-go).
|
Package rabbitmq is the RabbitMQ engine of `komando queue` (AMQP 0-9-1, through github.com/rabbitmq/amqp091-go). |
|
queuex/sqs
Package sqs is the Amazon SQS engine of `komando queue`.
|
Package sqs is the Amazon SQS engine of `komando queue`. |
|
registry
Package registry talks to container registries (Docker Hub, GHCR, GitLab, Harbor, ECR, ACR, Artifact Registry, registry:2) over the OCI Distribution API, with basic or bearer-token auth.
|
Package registry talks to container registries (Docker Hub, GHCR, GitLab, Harbor, ECR, ACR, Artifact Registry, registry:2) over the OCI Distribution API, with basic or bearer-token auth. |
|
releasesig
Package releasesig signs a komando release and checks that signature.
|
Package releasesig signs a komando release and checks that signature. |
|
sealdb
Package sealdb is komando's local store: one SQLite file whose records are sealed rows (package sealrow).
|
Package sealdb is komando's local store: one SQLite file whose records are sealed rows (package sealrow). |
|
sealfile
Package sealfile is the sealed file of `komando export --sealed` and `komando export --for-phone`: one format, opened with a passphrase or with the private key of a phone.
|
Package sealfile is the sealed file of `komando export --sealed` and `komando export --for-phone`: one format, opened with a passphrase or with the private key of a phone. |
|
sealrow
Package sealrow seals one record of komando's local store.
|
Package sealrow seals one record of komando's local store. |
|
sshx
Package sshx dials hosts from the inventory (with jump-host chains, keychain/agent/password auth and TOFU host-key checking) and runs commands.
|
Package sshx dials hosts from the inventory (with jump-host chains, keychain/agent/password auth and TOFU host-key checking) and runs commands. |
|
sslvpn
Package sslvpn holds komando's own clients for corporate SSL VPNs: Cisco AnyConnect / ocserv, Fortinet, Palo Alto GlobalProtect, F5 BIG-IP and Pulse/Ivanti.
|
Package sslvpn holds komando's own clients for corporate SSL VPNs: Cisco AnyConnect / ocserv, Fortinet, Palo Alto GlobalProtect, F5 BIG-IP and Pulse/Ivanti. |
|
store
Package store keeps komando state (inventory, conns, keys, snippets, jobs, tunnels, settings) in the sealed store under $KOMANDO_HOME (default ~/.komando).
|
Package store keeps komando state (inventory, conns, keys, snippets, jobs, tunnels, settings) in the sealed store under $KOMANDO_HOME (default ~/.komando). |
|
storex
Package storex gives `komando storage` one interface over S3-compatible object storage (AWS S3, MinIO, R2, Wasabi, Spaces, B2), Google Cloud Storage, Azure Blob, FTP/FTPS, SFTP, WebDAV and SMB shares.
|
Package storex gives `komando storage` one interface over S3-compatible object storage (AWS S3, MinIO, R2, Wasabi, Spaces, B2), Google Cloud Storage, Azure Blob, FTP/FTPS, SFTP, WebDAV and SMB shares. |
|
tmpclean
Package tmpclean keeps the temporary files and folders this komando run made (a download before its rename, a sign-in browser profile, a database CA copy), so a hard stop still removes them.
|
Package tmpclean keeps the temporary files and folders this komando run made (a download before its rename, a sign-in browser profile, a database CA copy), so a hard stop still removes them. |
|
vault
Package vault stores secrets (passwords, key passphrases, tokens) encrypted with AES-256-GCM, each bound to its name.
|
Package vault stores secrets (passwords, key passphrases, tokens) encrypted with AES-256-GCM, each bound to its name. |
|
winrm
Package winrm is komando's own WinRM client: it runs one command on a Windows server through WS-Management (the Windows Remote Shell protocol, MS-WSMV), over HTTPS or HTTP, with NTLM or Basic login.
|
Package winrm is komando's own WinRM client: it runs one command on a Windows server through WS-Management (the Windows Remote Shell protocol, MS-WSMV), over HTTPS or HTTP, with NTLM or Basic login. |
|
scripts
|
|
|
releasesig
command
releasesig makes komando's release signing key and signs a release's checksums.txt with it (see internal/releasesig).
|
releasesig makes komando's release signing key and signs a release's checksums.txt with it (see internal/releasesig). |
|
test
|
|
|
e2e/bigquery
command
Command bigquery is a stand-in for BigQuery's REST API and Google's token endpoint in the end-to-end lab: no Google project is at hand, and the free emulator cannot do dry runs.
|
Command bigquery is a stand-in for BigQuery's REST API and Google's token endpoint in the end-to-end lab: no Google project is at hand, and the free emulator cannot do dry runs. |
|
e2e/bwseed
command
Command bwseed creates a Vaultwarden account with one login item, the way a Bitwarden client does (keys made and encrypted here), for the e2e test of komando's bw:// references.
|
Command bwseed creates a Vaultwarden account with one login item, the way a Bitwarden client does (keys made and encrypted here), for the e2e test of komando's bw:// references. |
|
e2e/snowflake
command
Command snowflake is a stand-in for Snowflake's SQL API in the end-to-end lab: no Snowflake account or emulator is free to run there.
|
Command snowflake is a stand-in for Snowflake's SQL API in the end-to-end lab: no Snowflake account or emulator is free to run there. |
|
e2e/wgpeer
command
wgpeer is a WireGuard "server" for the e2e test.
|
wgpeer is a WireGuard "server" for the e2e test. |
Click to show internal directories.
Click to hide internal directories.