commands.sh

ttyd

all

Share a terminal or any command over the web.

More info →

Options (5)

-p, --portboolean

Start Bash on a specific port

Example: ttyd {{[-p|--port]}} {{8080}} bash
-W, --writableboolean

Allow clients to write to the terminal

Example: ttyd {{[-W|--writable]}} {{command}}
-t, --client-optionboolean

Set client options

Example: ttyd {{[-t|--client-option]}} {{key=value}} {{command}}
-h, --helpboolean

Display help

Example: ttyd {{[-h|--help]}}
-v, --versionboolean

Display version

Example: ttyd {{[-v|--version]}}

Examples (6)

Start a read only web server sharing Bash shell on the default port (7681)

Start Bash on a specific port

ttyd [-p|--port] 8080 bash

Allow clients to write to the terminal

ttyd [-W|--writable] command

Set client options

ttyd [-t|--client-option] key=value command

Display help

ttyd [-h|--help]

Display version

ttyd [-v|--version]
made by @shridhargupta | data from tldr-pages