Latitude.sh Agent packages

Package repositories for lsh-agent, which keeps a server's UFW firewall in sync with the Latitude.sh Firewall. Ubuntu 22.04+ and Debian 12+ (apt), and the RHEL family 9+: AlmaLinux, Rocky Linux and Oracle Linux (dnf), on amd64 and arm64.

Install

The dashboard gives you this command, with your IDs filled in: open your firewall, go to Overview and expand Agent Installation.

curl -fsSL https://packages.lsh.io/install.sh \
  | sudo bash -s -- -firewall <firewall_id> -project <project_id>

It installs the agent from this repository, enables UFW with safe defaults (deny incoming, allow outgoing, allow SSH) and starts the lsh-agent service. Add -version <version> to pin a release.

Use the repository directly

Debian and Ubuntu:

sudo curl -fsSLo /etc/apt/sources.list.d/lsh-agent.sources \
  https://packages.lsh.io/apt/lsh-agent.sources
sudo apt-get update
sudo apt-get install -y lsh-agent

RHEL family (ufw comes from EPEL):

sudo dnf install -y epel-release   # Oracle Linux: oracle-epel-release-el9 / -el10
sudo curl -fsSLo /etc/yum.repos.d/lsh-agent.repo \
  https://packages.lsh.io/rpm/lsh-agent.repo
sudo dnf install -y ufw lsh-agent

Install ufw by name, as above: dnf removes packages that came in only as a dependency, so removing the agent would otherwise remove the firewall too.

The package does not configure the host: see the README for binding it to your firewall and enabling UFW. The repository metadata is signed with this key, which the repository file already references.

Packages

Every published release stays available; pin one with apt-get install lsh-agent=<version> or dnf install lsh-agent-<version>.

VersionArchitecturePackage (.deb)SizeSHA256
1.4.1amd64lsh-agent_1.4.1_amd64.deb3.1 MB12a21f0adc3c…
1.4.1arm64lsh-agent_1.4.1_arm64.deb2.8 MBdc885ebd3c49…
1.4.0amd64lsh-agent_1.4.0_amd64.deb3.1 MB0a14505c22ec…
1.4.0arm64lsh-agent_1.4.0_arm64.deb2.8 MB60090f50fb49…
1.3.2amd64lsh-agent_1.3.2_amd64.deb3.0 MB3d2cdafd39d4…
1.3.2arm64lsh-agent_1.3.2_arm64.deb2.7 MB377ea941fa30…
1.3.1amd64lsh-agent_1.3.1_amd64.deb3.0 MBa553d2174727…
1.3.1arm64lsh-agent_1.3.1_arm64.deb2.7 MB8d6dc17d40fe…
1.3.0amd64lsh-agent_1.3.0_amd64.deb3.0 MB6c15095edd0c…
1.3.0arm64lsh-agent_1.3.0_arm64.deb2.7 MB94ca4377cbdb…
1.2.0amd64lsh-agent_1.2.0_amd64.deb3.0 MB11b27557b99c…
1.2.0arm64lsh-agent_1.2.0_arm64.deb2.7 MBb8c5b72c304c…
1.1.0amd64lsh-agent_1.1.0_amd64.deb3.0 MB045fd91d85bd…
1.1.0arm64lsh-agent_1.1.0_arm64.deb2.7 MBe489256b98cb…
1.0.2amd64lsh-agent_1.0.2_amd64.deb3.0 MBbe65d215e915…
1.0.2arm64lsh-agent_1.0.2_arm64.deb2.7 MB46043125a3aa…
VersionArchitecturePackage (.rpm)SizeSHA256
1.4.1aarch64lsh-agent-1.4.1-1.aarch64.rpm2.8 MB488c7b49aaca…
1.4.1x86_64lsh-agent-1.4.1-1.x86_64.rpm3.1 MB294a32e23435…
1.4.0aarch64lsh-agent-1.4.0-1.aarch64.rpm2.8 MB9d1d85d9d299…
1.4.0x86_64lsh-agent-1.4.0-1.x86_64.rpm3.1 MB84b856419569…

Uninstall

On a host set up with the installer:

curl -fsSL https://packages.lsh.io/uninstall.sh | sudo bash

This also resets and disables UFW. If you installed only the package, or want to keep UFW and its rules, run sudo apt-get purge lsh-agent or sudo dnf remove lsh-agent instead.