AirCloud CLI — endpoint management, SSH, and container exec
Project description
aircloud-cli
CLI for the AirCloud platform — endpoint management, SSH access, and container shell exec.
Install
pip install aircloud-cli
Requires Python 3.9+.
Quick start
# one-time setup
aircloud config set api-key <YOUR_API_KEY>
aircloud config set api-base-url <API_BASE_URL>
# inspect endpoints
aircloud endpoints list
aircloud endpoints get <endpoint_id>
# open a shell in a container
aircloud ssh <endpoint_id> # public-key auth, sshd-based
aircloud exec <endpoint_id> # docker exec over WS, no sshd needed
Commands
aircloud config
Manage CLI configuration in ~/.aircloud/config.json.
aircloud config set api-key <key>
aircloud config set api-base-url <url>
aircloud config list
aircloud config get <key>
aircloud endpoints
aircloud endpoints list # paged list
aircloud endpoints get <id> # detail
aircloud endpoints start <id>
aircloud endpoints stop <id>
aircloud endpoints scale <id> --replicas N
aircloud endpoints patch <id> --command "..." --port 8080 --env KEY=VALUE
aircloud endpoints replicas <id> # current replicas
aircloud endpoints logs <id> [--replica-id X] [--start-line N --end-line M]
aircloud ssh
SSH into a container via WebSocket tunnel using public-key authentication.
aircloud ssh <endpoint_id> # auto-discover ~/.ssh/id_*
aircloud ssh <endpoint_id> -i ~/.ssh/aircloud_key
aircloud ssh <endpoint_id> -r <replica_id> # pin to specific replica
aircloud ssh <endpoint_id> --tunnel-only # open tunnel only
Auto-discovers identity files in this order: ~/.ssh/id_ed25519,
~/.ssh/id_ecdsa, ~/.ssh/id_rsa. Override with -i / --identity-file.
The container image must have sshd running and consume the
AIRCLOUD_AUTHORIZED_KEYS environment variable (AirCloud-provided template
images do this by default).
aircloud exec
Open an interactive shell in the container via docker exec over a
WebSocket. Works on any image — no sshd required.
aircloud exec <endpoint_id>
aircloud exec <endpoint_id> -r <replica_id> # pin replica
aircloud exec <endpoint_id> -c "/bin/sh" # custom command
aircloud whoami
Print the identity associated with the current API key.
aircloud whoami
Status
This is an early functional release. Interfaces may change before 1.0.0.
License
Proprietary. © AIEEV / AirCloud.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aircloud_cli-0.1.0.tar.gz.
File metadata
- Download URL: aircloud_cli-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bf1c55942d2cfc25a2fe0754344cd506783ab1d507ca442d91cbed548fff171
|
|
| MD5 |
afef0eaba388a3bb3bb958b16dd07d91
|
|
| BLAKE2b-256 |
e4deaf30f6eb1ed21608584df0d9aeff23cd15918aa60ac0993780cc8a76110a
|
File details
Details for the file aircloud_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aircloud_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aee0e3baad539cb26760d4b486b2356eb390ebe237df196c3a5406a896ee5a9a
|
|
| MD5 |
63681220449d5cf31ef5d5eeb60be3a7
|
|
| BLAKE2b-256 |
12b7cf328503da73c4b3d0da5e8a4c4e5a69e9a3b3c921070d579e786731783a
|