ksp session
DocsCLIksp session

ksp session

Command Reference

List, inspect, suspend, resume, or terminate active cryptographic KSP sessions on a running server instance.

Session & Security

Purpose

List, inspect, suspend, resume, or terminate active cryptographic KSP sessions on a running server instance.

Syntax

Command-line specification
bash / powershell
ksp session <SUBCOMMAND> [OPTIONS]

Arguments

ArgumentDescription
<SUBCOMMAND>Action: `list`, `inspect <ID>`, `kill <ID>`, or `clean-tickets`.

Options & Flags

Option FlagDescription
--filter <STATUS>Filter sessions by state: `ACTIVE`, `IDLE`, or `HALF_CLOSED`.
--jsonOutput active session table as JSON format.

Example Usage

Example command
ksp session list

Expected Output

Active KSP Sessions (2 total):
┌────────────┬──────────────────┬──────────────┬──────────┬──────────────┐
│ Session ID │ Remote Peer      │ Cipher Suite │ Streams  │ Uptime       │
├────────────┼──────────────────┼──────────────┼──────────┼──────────────┤
│ 0x4B9E3A.. │ 127.0.0.1:54112  │ ChaCha20-P.. │ 4 active │ 00:14:22     │
│ 0xA91E88.. │ 192.168.1.50:489 │ AES-256-GCM  │ 1 active │ 02:41:09     │
└────────────┴──────────────────┴──────────────┴──────────┴──────────────┘
Implementation Notes

Allows operators to monitor active client connections and force-drop compromised sessions instantaneously.