snippetbashTip
ttyd — Share a terminal or any command over the web. More information: <https://github.com/tsl0922/ttyd#com
Viewed 0 times
terminalcommandanyttydsharecliover
Problem
How to use the
ttyd command: Share a terminal or any command over the web. More information: <https://github.com/tsl0922/ttyd#command-line-options>.Solution
ttyd — Share a terminal or any command over the web. More information: <https://github.com/tsl0922/ttyd#command-line-options>.Start a read only web server sharing Bash shell on the default port (7681):
ttyd bashStart Bash on a specific port:
ttyd {{[-p|--port]}} {{8080}} bashAllow 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]}}Code Snippets
Start a read only web server sharing Bash shell on the default port (7681)
ttyd bashStart Bash on a specific port
ttyd {{[-p|--port]}} {{8080}} bashAllow 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]}}Context
tldr-pages: common/ttyd
Revisions (0)
No revisions yet.