scorpiox-hostnetwork

Session gateway server and CLI client

Linux x64 Linux ARM64 macOS ARM64 Windows x64

⚙️ Flags & Options (3)

Flag Short Description Takes Value
--follow -f Follow session output in real time, streaming logs and events to the terminal No
--daemon -d Run the gateway server as a background daemon process No
--port Specify the port number for the gateway server to listen on Yes

📖 Usage Examples

# Start the session gateway server on the default port
$ scorpiox-host
listening on :8090 ...
# Start the gateway on a custom port
$ scorpiox-host --port 9000
listening on :9000 ...
# Run the gateway as a background daemon
$ scorpiox-host --daemon
daemon started (pid 24817)
# Run as a daemon on a specific port
$ scorpiox-host -d --port 7500
daemon started (pid 31204)
# Follow session output in real time (attach to running session)
$ scorpiox-host --follow
[session:abc123] connected
[session:abc123] cmd: ls -la /workspace
[session:abc123] exit 0
# Combine daemon mode with follow to monitor a background server
$ scorpiox-host -d --port 4400
$ scorpiox-host -f
[session:xz9k1] connected
[session:xz9k1] heartbeat ok
# Typical production deployment: daemon + custom port
$ scorpiox-host --daemon --port 443
# Then verify it's running
$ ps aux | grep scorpiox-host
root 24817 0.1 0.3 scorpiox-host --daemon --port 443

🔧 Source & Build Info

Source File
scorpiox/scorpiox-host.c
Lines of Code
1,882
Dependencies
libsxutil

Related Tools in 🌐 network