Files
cheatsheet-tldr/tldr/linux/cockpit-ws

30 lines
668 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# cockpit-ws
> Communicate between the browser application and various configuration tools and services like `cockpit-bridge`.
> More information: <https://cockpit-project.org/guide/latest/cockpit-ws.8.html>.
- Start with authentication via SSH at `127.0.0.1` with port `22` enabled:
`cockpit-ws --local-ssh`
- Start an HTTP server on a specific port:
`cockpit-ws --port {{port}}`
- Start and bind to a specific IP address (defaults to `0.0.0.0`):
`cockpit-ws --address {{ip_address}}`
- Start without TLS:
`cockpit-ws --no-tls`
- Display help:
`cockpit-ws --help`