Skip to content

bifroest session ls

Lists authorized, non-expired sessions by default.

1
bifroest session ls

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

  1. Configure and use the local flow from the management guide.
  2. From the administrator's workstation, query that flow:

    1
    bifroest @bifroest-admin session ls --flow=local --user=alice --state=all --format=json
    

    Replace alice with the requesting SSH username. --flow=local excludes the separate administration session. 3. Use a returned ID with session 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.