JavaScriptSolidServer

Terminal & Password CLI

WebSocket Terminal (--terminal)

Enable a WebSocket shell endpoint at /.terminal for browser-based terminal access.

jss start --terminal

How it works

Environment variable

JSS_TERMINAL=true jss start

Browser integration

Connect with xterm.js or any WebSocket terminal client:

const ws = new WebSocket('wss://your.pod/.terminal')
ws.onmessage = (e) => terminal.write(e.data)
terminal.onData((data) => ws.send(data))

Security

Password Management (jss passwd)

Manage IdP user passwords from the command line.

# Set password interactively
jss passwd <username>

# Set password directly
jss passwd <username> --password <newpassword>

# Generate and print a random password
jss passwd <username> --generate

Options

Flag Description
--password <pw> Set password non-interactively
--generate Generate random password and print it
-r, --root <path> Data directory (default: ./data)

Examples

# Reset a user's password
jss passwd alice --password newsecretpass

# Generate a random password for a user
jss passwd bob --generate
# Output: New password for bob: a7Bx9kQ2mP...

# Interactive (prompts for password)
jss passwd alice