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

Published
Length
3 min read

Luis Felipe Dias

All posts

Using jetbrains space and ubuntu together lets teams build and ship code on Linux hosts. Space runs the workflow tasks while Ubuntu servers host the apps and runners. Teams link these two tools to automate tests and software releases. A code push in Space triggers a job on an Ubuntu worker. That worker compiles the code and sends the build to target servers. Getting the setup right keeps your keys safe and your servers stable. How jetbrains space and ubuntu handle logins and data flow Data m

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.

Using jetbrains space and ubuntu together lets teams build and ship code on Linux hosts. Space runs the workflow tasks while Ubuntu servers host the apps and runners.

Teams link these two tools to automate tests and software releases. A code push in Space triggers a job on an Ubuntu worker. That worker compiles the code and sends the build to target servers. Getting the setup right keeps your keys safe and your servers stable.

How jetbrains space and ubuntu handle logins and data flow

Data moves from your source repo in Space down to your Ubuntu machines. You can run self-hosted workers on Ubuntu to process build jobs. Each Ubuntu worker needs a token to talk back to the Space server. The worker pulls the code, runs the scripts, and sends back the job logs.

When a build finishes, the worker often pushes files to another Ubuntu host. This step needs SSH keys or service tokens stored in the project secret store. Space passes those secrets to the Ubuntu runner during the job run. The runner uses them to log in to the target Ubuntu server and update the app.

Permissions in Space control who can trigger these jobs and read the secrets. On the Ubuntu side, local Linux users and groups limit what the runner can touch. You should map each project role to a specific Linux user with limited rights. This keeps a build script from changing system files it does not own.

Common failure modes and how to scope roles

Many teams fail by using one shared root account on Ubuntu for all Space jobs. If a build script has a bug, it can wipe out the whole host. Shared accounts also make it impossible to see which developer ran a bad command. All actions in the system log look like they came from the same user.

Broad tokens cause another major risk for your Linux fleet. Teams often create a long-lived key with full admin rights and leave it in Space. If that key leaks in a build log, an attacker can reach every Ubuntu machine. Unlogged shell sessions also hide what changed during a manual fix.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

You can fix this by giving each Space project its own Linux user on Ubuntu. Remove root rights from that user and allow only the exact commands needed to restart the app. Rotate your SSH keys and worker tokens on a regular schedule. Lock down network paths so only known worker IPs can reach your production Ubuntu ports.

Keeping build runners clean and auditable

Long-running Ubuntu workers collect old files, cached packages, and leftover secrets over time. One project build might read files left behind by an earlier job on the same disk. You should wipe the worker folder after every run or use fresh containers on the Ubuntu host.

Audit logs are just as vital when developers need to debug a broken Ubuntu server. Standard SSH keys do not tie server commands back to a single person in your team directory. Set up your login flow so every session maps to a real user identity. Keep central logs of every command run on the host for security checks. Mask sensitive fields like emails, phone numbers, card numbers, and national IDs so masking rewrites matched fields in results.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How does a Space worker talk to an Ubuntu host?

You install the worker software on Ubuntu and register it with a project token. The worker reaches out to Space over HTTPS to pick up queued jobs and send back logs.

Should Space build jobs run as the root user on Ubuntu?

No, running jobs as root puts the whole Linux host at risk if a script fails. Create a standard Linux user with strict folder rights for the worker process.

How do we stop secrets from leaking in Ubuntu build logs?

Store all keys in the project secret store rather than in plain script files. Avoid printing system variables to the console output during your test and deploy steps.

The query runs. The emails stay hidden.