← 返回命令列表

Linux command

cockpit-ws 命令

网络

需要网络或远程资源。

常用示例

Example

cockpit-ws --local-ssh

Example

cockpit-ws --port [port]

Bind

cockpit-ws --address [ip_address]

Example

cockpit-ws --no-tls

说明

cockpit-ws is the Cockpit web service that communicates between the browser application and various configuration tools like cockpit-bridge. It serves the web interface and handles authentication. By default, it binds to 0.0.0.0 and requires TLS.

参数

--local-ssh
Enable SSH authentication at 127.0.0.1:22
--port _port_
Listen on specified port
--address _address_
Bind to specific IP address (default: 0.0.0.0)
--no-tls
Run without TLS encryption
--help
Display help information

FAQ

What is the cockpit-ws command used for?

cockpit-ws is the Cockpit web service that communicates between the browser application and various configuration tools like cockpit-bridge. It serves the web interface and handles authentication. By default, it binds to 0.0.0.0 and requires TLS.

How do I run a basic cockpit-ws example?

Run `cockpit-ws --local-ssh` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --local-ssh do in cockpit-ws?

Enable SSH authentication at 127.0.0.1:22