The Simplest Way to Make JetBrains Space and Rocky Linux Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams use jetbrains space and rocky linux to build, test, and ship code in production. JetBrains Space runs the team workflow, while Rocky Linux hosts the build jobs and apps. Many teams choose Rocky Linux for stable servers that run for years. They pair it with JetBrains Space to keep git repos, code reviews, and jobs in one place. When these tools work together, developers push code and trigger Linux tasks right away. The Linux host pulls the job, runs the build, and sends logs back to the te

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams use jetbrains space and rocky linux to build, test, and ship code in production. JetBrains Space runs the team workflow, while Rocky Linux hosts the build jobs and apps.

Many teams choose Rocky Linux for stable servers that run for years. They pair it with JetBrains Space to keep git repos, code reviews, and jobs in one place. When these tools work together, developers push code and trigger Linux tasks right away. The Linux host pulls the job, runs the build, and sends logs back to the team.

How jetbrains space and rocky linux share logins and data

The link between jetbrains space and rocky linux starts with a clear trust setup. Either the cloud platform reaches out to the Linux host, or a worker agent polls for jobs. In most setups, a worker agent runs on the Rocky Linux machine as a system service. This agent logs in to the Space project with a secret token or key pair.

Once linked, the Linux server pulls source code and job steps from the central repo. It uses local tools or containers on Rocky Linux to compile code and run tests. During the run, the server sends status updates and text logs back to the project screen. If the job builds a package, the Linux host pushes that file to the Space package store.

Permissions must match on both sides of this link for the flow to work well. In Space, project admins set rules on who can start a build or read a repo. On Rocky Linux, system admins pick which local user account runs the worker service. That local Linux user needs rights to read build folders and start containers, nothing more.

Common failure modes and how to scope roles

Problems start when teams take shortcuts during the first setup of these two tools. A common mistake is running the Space worker as the root user on Rocky Linux. If a build script has a bug or bad code, it can break the whole host. Another big risk is using one broad admin token for every single Linux worker machine.

Shared service accounts also make it hard to track who did what on a server. When five devs share one SSH key to fix a Rocky Linux build host, logs lose value. You can see that the shared user ran a command, but not which person typed it. Unlogged database queries or shell tasks during a deploy hide the root cause of outages.

End-to-End Encryption + Linux Capabilities Management: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, scope down every role and network path between the two systems. Create a dedicated, non-root Linux user on Rocky Linux just for the build worker. Give each worker host its own scoped token in Space that only reads one project. Turn on Linux kernel tools like SELinux to keep build tasks inside their own folders.

Keeping server tasks safe and easy to audit

Network rules should also stay tight between your code platform and your Linux fleet. Let the Rocky Linux worker make outbound calls to Space over HTTPS, and block inbound ports. This stops outside bots from scanning your build servers on the open web. Rotate worker tokens on a set schedule so old keys cannot leak in build logs.

When engineers need to check a failing Rocky Linux server by hand, avoid static SSH keys. Map every login and command back to a real person from your team directory. Also, make sure your log tools mask sensitive fields like emails, phone numbers, and card numbers. Masking rewrites matched fields in results so private data stays safe during debug work.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Should the Space worker run on bare Rocky Linux or in a container?

Running the worker inside a container on Rocky Linux keeps the host system clean. It also makes upgrades fast and stops build tools from changing host files.

How do we stop build jobs from reading secret files on Rocky Linux?

Run the worker under a locked-down Linux user and keep SELinux active at all times. Store build secrets in the project store and pass them only to approved jobs.

What network ports must open between Rocky Linux and JetBrains Space?

When you use a polling worker on Rocky Linux, you only need outbound HTTPS open. You do not need to open inbound ports from the public internet to your host.

The query runs. The emails stay hidden.