Introducing the LiteSOC Server Agent, Real-Time SSH Monitoring in One Line
Stream SSH security events from your servers to LiteSOC in real-time. Zero polling, zero dependencies, just one curl command to install.

Until today, LiteSOC monitored your application layer, login attempts, MFA changes, admin actions flowing through your SDKs and integrations. But there's been a blind spot: the servers themselves.
SSH brute-force attacks, unauthorized logins, and suspicious session activity all happen at the OS level, below your application code. If someone is hammering your server with failed SSH attempts at 3 AM, your app-layer monitoring won't catch it.
Today we're closing that gap.
Meet litesoc-agent
The LiteSOC Server Agent is a lightweight, open-source Go binary that runs as a background service on your Linux or macOS servers. It tails your system authentication logs in real-time and streams structured security events directly to LiteSOC with zero polling overhead.
No runtime dependencies. No interpreters. No sidecars. Just a single static binary.
⚡ One-Line Install
Get up and running in seconds:
curl -sSL https://litesoc.io/install.sh | LITESOC_KEY=lsoc_live_xxx bash
The installer automatically:
- Detects your OS and architecture
- Downloads the correct pre-built binary
- Writes
/etc/litesoc/config.yaml - Stores your API key securely in
/etc/litesoc/agent.env(mode0600) - Installs and enables a
systemdservice
That's it. Events start flowing within seconds.
🔍 What It Detects
The agent parses OpenSSH log entries and emits three event types that map directly to LiteSOC's standard event taxonomy:
| Event | Trigger |
|---|---|
auth.login_failed | Failed SSH login attempt |
auth.login_success | Successful SSH authentication |
auth.logout | SSH session disconnected |
Every event includes rich metadata username, client IP (IPv4 and IPv6), SSH port, and authentication method giving LiteSOC's Behavioral AI the full context it needs to detect impossible travel, geo-anomalies, and brute-force patterns across your infrastructure.
💓 Heartbeat Monitoring
The agent pings LiteSOC every 60 seconds with its hostname, IP address, version, and recent activity. If an agent goes silent maybe the server crashed, or someone killed the process your dashboard flags it immediately.
No more "we didn't realize the server was down for 6 hours."
🔄 Built for Production
We designed the agent for environments where reliability is non-negotiable:
- Log-rotation aware: Handles
logrotatevia inotify/kqueueReOpen. Zero missed events after rotation. - Systemd integration: Ships with a service unit that auto-restarts on failure.
- Multi-architecture: Pre-built binaries for
linux/amd64,linux/arm64,linux/arm,darwin/amd64, anddarwin/arm64. - 100% test coverage: Every function tested, race-condition verified.
🛡️ Security by Design
Your API key is never stored in the config file. It lives exclusively in /etc/litesoc/agent.env with 0600 permissions, read only by the agent process via the LITESOC_KEY environment variable.
The config itself is minimal and transparent:
# /etc/litesoc/config.yaml
api_endpoint: https://api.litesoc.io
heartbeat_interval: 60
log_watchers:
- path: /var/log/auth.log
type: sshd
The agent supports all major Linux distributions out of the box:
| Distribution | Log Path |
|---|---|
| Debian / Ubuntu | /var/log/auth.log |
| RHEL / CentOS / Fedora / Amazon Linux | /var/log/secure |
| Alpine | /var/log/messages |
The Full Picture
With the server agent, LiteSOC now monitors security across your entire stack:
- Application layer: SDK events from your Next.js, Node, Python, or PHP backend
- Auth provider layer: Native integrations with Supabase, Auth0, and n8n
- Infrastructure layer: Real-time SSH monitoring via
litesoc-agent
All events feed into the same Behavioral AI engine. An auth.login_success from your app and an auth.login_success from SSH are correlated together giving you a unified forensic timeline across every surface.
Get Started
Install the agent on your first server in under 30 seconds:
curl -sSL https://litesoc.io/install.sh | LITESOC_KEY=lsoc_live_xxx bash
Then check your LiteSOC dashboard you'll see events streaming in real-time.
The agent is fully open-source. Browse the code, file issues, or contribute on GitHub.
Stay Updated
Get the latest security insights and product updates delivered to your inbox. No spam, unsubscribe anytime.