HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cockpit-ws — Communicate between the browser application and various configuration tools and services like `cockp

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandbrowserbetweencockpit-wsclicommunicateapplication
linux

Problem

How to use the cockpit-ws command: 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>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/cockpit-ws

Revisions (0)

No revisions yet.