Filesystem session
This variant of session is stored on the same local filesystem on which Bifröst is running.
Properties
type
Session Type = "fs"
Can be set to fs to enable the filesystem session. If absent, fs is always chosen by default.
idleTimeout
Duration = "30m"
How long a session may remain idle before access expires. Activity across its connections extends this time. Browser transport keepalive does not count as session activity. 0 disables this timeout. Housekeeping disposes expired sessions.
maxTimeout
Duration = 0
Maximum lifetime from session creation, regardless of activity. Access ends at expiry. 0 disables this timeout.
maxConnections
uint16 = 0
Maximum concurrent connections per session, shared by SSH, browser terminals and management operations. Excess connections are rejected. 0 disables this limit.
storage
File Path = "<os specific>"
Where the session information is stored locally.
Only one Bifröst process can use a filesystem session repository at a time. Startup fails if the repository is already in use or exclusive access cannot be established.
A shared volume does not turn this repository into a multi-writer session backend. Locks are not distributed fencing; see availability and recovery limits before planning a replacement instance.
The storage must not overlap a configured audit log's journal, signing identity, encryption public-key file, or local SFTP target known_hosts and identity files. Unsafe paths are rejected during startup.
The default value is different, depending on the platform Bifröst runs on:
- Linux:
/var/lib/engity/bifroest/sessions - macOS:
/Library/Application Support/Engity/Bifroest/sessions - Windows:
C:\ProgramData\Engity\Bifroest\sessions
fileMode
File Mode = "0600"
All files/directories inside the session storage will be stored with this mode. Directories will always get the executable bit.
Examples
Limit concurrent connections and bound both idle and total session lifetime:
1 2 3 4 | |
Compatibility
linux |
darwin |
windows |
|---|---|---|
| / | / | / |