LCM 2.2: a new interface and console access for agent servers

Diesen Beitrag gibt es auch auf Deutsch →

If you already know LCM, you will feel at home right away: dashboard, server list, groups, jobs and settings are where they have always been. Underneath, the interface has been rebuilt from the ground up, and you notice it from the first click. With version 2.2 the agent has also grown up a little: it can now carry terminal sessions.

One interface, built as a whole

The new interface is more modern, calmer and noticeably faster. It comes in light and dark, in German and English, and it is built the same way across every page, from the dashboard through the server details to the settings. Security and containers have pages of their own that show, across all servers, where something needs doing right now.

The LCM dashboard in the dark theme with the status indicators of the servers, recently run jobs, upcoming schedules and the latest alerts

A lot of what used to need a reload or a second look now happens on its own. Lists, jobs and the dashboard update live. When a job finishes, LCM tells you and links to the result. Cmd or Ctrl+K takes you to any page and any server, and a press of ? shows all keyboard shortcuts. Input is checked before it is submitted, and the error appears right at the field. The interface passes the accessibility check without exceptions, with readable contrast in the dark theme as well.

You see what will happen first

The most important idea behind the new interface: LCM should never do anything you could not see beforehand. For configuration changes, from the firewall and SSH hardening to package sources and Docker, LCM first shows the exact commands and their effect. You learn whether the change can be undone, how long it takes and what to keep an eye on. Only after you confirm does anything run on the server.

Afterwards nothing stays hidden either: the SSH session of a job shows commands and output while it is still running, and every action is logged with its full console output. Where numbers and findings are hard to read, such as vulnerabilities, container images or alert rules, a note next to the table explains how to read the display.

The agent now carries terminal sessions

LCM does not need an agent. It manages Linux servers entirely over SSH, with nothing to install on the target system. For the case that you cannot reach a server over SSH, for example behind NAT or a firewall, there is the LCM agent, which builds the connection from the inside.

What is new is that the console in the browser now runs over this connection as well. The agent opens a shell as root on the server, input and output travel through the existing agent connection, and no port has to be opened for it. Permissions, recording and audit work just as they do for servers connected over SSH. If you do not want the console on a particular server, you switch it off locally with lcm-agent terminal off. That takes effect immediately, even for consoles that are already open.

For servers with an agent you can now also configure SSH hardening, root login, the SSH port, open ports and SSH two-factor authentication. Hardening aborts if no SSH key is stored on the server, so nobody locks themselves out.

Try it

The new interface and the agent are available in the community edition without restrictions, like every LCM feature. Updates arrive through the APT repository. If you would like to look around first, there is a demo system with invented servers at lcm-demo.techeve.de. How to set up the agent and what the console can do in detail is described in the documentation.

← All articles

Keyboard shortcuts

Shortcuts work whenever you are not typing in a field. For the "g" shortcuts, press g first, then the letter.

On this page

?
Show this overview
/
Focus the search field
Esc
Close menu or dialog

Jump to

g then h
Home
g then p
Products
g then b
Blog
g then c
Contact
g then a
About us

View

t
Colour scheme menu
l
Switch language
m
Open or close the menu (narrow screens)