bifroest session ls
Lists authorized, non-expired sessions by default.
1 | |
Syntax
Arguments
None.
Flags
Includes all general flags.
--configuration
Local configuration file; defaults to the platform path. Unavailable with @target or direct SSH.
--format
string = "table"
Result format: table, json, yaml or cbor.
--flow
string
Select sessions whose flow name matches exactly.
--user
string
Select sessions whose requesting user matches exactly.
--state
string = "active"
active selects authorized sessions whose validity has not expired. new, authorized and disposed match that lifecycle state directly; authorized can therefore include expired sessions. all disables state filtering. Retained state depends on the repository's lifecycle and cleanup.
Output
Rows contain session ID, flow, state, requesting user and creation time, ordered by creation time and then ID. Structured results additionally contain available remote, last-access and validity metadata. Repository inspection can report unreadable entries on stderr.
Examples
Find a user's sessions in one flow
- Configure and use the
localflow from the management guide. -
From the administrator's workstation, query that flow:
1bifroest @bifroest-admin session ls --flow=local --user=alice --state=all --format=jsonReplace
alicewith the requesting SSH username.--flow=localexcludes the separate administration session. 3. Use a returned ID withsession show.
Availability
linux |
darwin |
windows |
|---|---|---|
| / | / | / |
Invocation modes
| Local CLI | @target |
Direct SSH |
|---|---|---|
Local inspection supports filesystem session storage; management queries the running repository and requires access.sessions.read.