ERA OF MINDS

Antigravity SSH: how to connect the app to a remote Linux server, and fix every error code

Short answer

Antigravity SSH lets the Antigravity desktop app (v2.33.0 or later) open a project on a remote 64-bit Linux machine, so your agents, terminals, Git worktrees and skills run on that server instead of your laptop. Add the server to ~/.ssh/config, check that ssh yourhost works in a terminal, then press Cmd/Ctrl + Shift + P and run Connect to SSH Host…. Antigravity installs its own server in ~/.antigravity-hub-server/ on the host, and agents keep running after you close the window. The host must be x86_64 or arm64 Linux with glibc 2.26+ (no Alpine, macOS or Windows hosts) and allow SSH port forwarding (AllowTcpForwarding yes). If it fails, the error code tells you which of those is missing.

Era of Minds cover: Antigravity over SSH, App 2.33.0, remote Linux. 64-bit Linux with glibc 2.26 or newer, no Alpine, Mac or Windows host, AllowTcpForwarding yes, agents run on the server and keep going after you close the window. Terminal: pre-flight checks uname -m and ldd --version on a Debian server (x86_64, glibc 2.41), sshd -T allowtcpforwarding yes, then Connect to SSH Host from the command palette. Table of error codes and fixes: FORWARDING_PROHIBITED, UNSUPPORTED_HOST, INSTALL_FAILED, AUTH_FAILED, HOSTKEY_REJECTED; @antigravity SSH post 209K views.
Figure: the pre-flight checks and the error-code fixes for Antigravity SSH, from the Antigravity docs, checked on November 20, 2026.

Google's Antigravity account announced native SSH on November 19 at 22:00 Dubai time. By 10:28 Dubai time the next morning the post had 209,570 views, 3,627 likes and 883 bookmarks (X API). Posts mentioning "Antigravity SSH" jumped from 20 on November 18 to 260 on November 19, and 156 more by 06:26 UTC on November 20. The most-viewed quote post (3,573 views) compared it with running agents through VS Code Remote SSH or keeping long GPU jobs alive in tmux. The practical question underneath: will my server work, and what do I do when it doesn't?

The feature itself shipped quietly two days earlier, in Antigravity App v2.33.0 on November 17. This guide covers setup, the host requirements, and the full error-code table from the Connect over SSH docs, all read on November 20, 2026. We ran the host checks below on our own Debian 13 server. We have not connected the Antigravity app to it, because our test machine has no desktop Antigravity install, so the connection steps come from Google's docs, not from our own run.

What does Antigravity SSH actually do?

When you connect, the app starts a small remote server on the Linux host over OpenSSH and opens a new window marked (SSH: yourhost). From then on, nearly everything runs on the host:

  • Projects and Git worktrees: you browse the remote filesystem and run agents in Local mode or New worktree mode.
  • Agent tools, shell commands and terminals, including the Linux terminal sandbox and permissions.
  • Customizations: skills, rules, hooks, MCP servers and plugins load from ~/.gemini/ and the project folders on the host.

The part people were most excited about on X: closing the window, restarting the app, or letting your laptop sleep does not stop the agents. They keep running on the host and you reconnect later. Only Stop SSH Server… stops them.

A few things change in an SSH window. The side-panel browser is hidden and links open in your local browser. /browser attaches to Chrome running on the remote host, not your laptop. Camera and screen access stay off, and Open in IDE and Reveal in Finder are hidden.

What does the remote server need?

Straight from the docs' requirements list:

CheckRequirement
Your computerAntigravity App v2.33.0+ on macOS, Windows or Linux, and OpenSSH (ssh or ssh.exe in PATH, or set ANTIGRAVITY_SSH_BIN)
Host OS64-bit Linux, x86_64 or arm64, glibc 2.26+ (Ubuntu 18.04+, Debian 10+, RHEL 8+)
Not supported as a hostmacOS, Windows, and musl Linux such as Alpine
SSH serverAllowTcpForwarding yes (or local) in sshd_config, on the host and on any ProxyJump host
Storage and networkOutbound HTTPS, and a writable, executable $HOME (the server goes in ~/.antigravity-hub-server/, agent data in ~/.gemini/)

The Alpine rule catches a lot of Docker-based dev boxes. If your container image is alpine, switch to a Debian or Ubuntu base before you try.

How do I check my server before connecting?

We wrote a short pre-flight script that checks each requirement in one go. Run it on the server, not on your laptop:

echo "arch:  $(uname -m)"                      # need x86_64 or aarch64
echo "libc:  $(ldd --version 2>&1 | head -1)"  # need GLIBC 2.26+, not musl
sudo sshd -T | grep -i allowtcpforwarding    # need yes or local
findmnt -no OPTIONS -T "$HOME" | grep -o noexec || echo "home: exec ok"
df -h "$HOME" | awk 'NR==2{print "free: "$4}'
curl -s -o /dev/null -w "https: %{http_code}\n" https://antigravity.google/

Here is what it printed on our Debian 13 (trixie) box on November 20:

arch:  x86_64
libc:  ldd (Debian GLIBC 2.41-12+deb13u4) 2.41
fwd:   not set in sshd_config (OpenSSH's default is yes)
home:  exec ok
free:  62G
https: 200

Every line passes. Two notes from doing it: sshd -T needs root, so without sudo just grep /etc/ssh/sshd_config (and any file in sshd_config.d/). If the line isn't there at all, OpenSSH's default is yes. On Alpine, the ldd line says musl libc instead of GLIBC, which is the UNSUPPORTED_HOST error waiting to happen.

How do I connect Antigravity to a server over SSH?

  1. Update the app to v2.33.0 or later. The changelog says new versions "roll out gradually and may take a few days to reach all users," so if you don't see the option, wait and check again.
  2. Add the host to ~/.ssh/config. Standard OpenSSH entries work, including ProxyJump:
    Host devbox
      HostName 203.0.113.10
      User alice
      Port 2222
      IdentityFile ~/.ssh/id_ed25519
      ProxyJump jump.example.com
    Only concrete aliases (no *, ? or !) show up in the list, though wildcard rules like Host * still apply.
  3. Run ssh devbox once in a terminal. This confirms the key works and records the host key in known_hosts. On Windows the docs say it's needed when the app doesn't show interactive prompts, together with loading your key into ssh-agent.
  4. Open the SSH dialog one of three ways: Create New Project next to Projects, then SSH Host…; the command palette (Cmd/Ctrl + Shift + P, then Connect to SSH Host…); or launch the app with --ssh-host=devbox.
  5. Pick the host and click Connect. You can also type user@host:port or ssh://user@host:port. On macOS and Linux, passphrases, passwords, 2FA codes and security-key touches appear inside the app.
  6. Sign in when the (SSH: devbox) window opens. Your local browser handles the Google sign-in and the credentials are saved on the host. Personal Google accounts, Google Workspace, Pay As You Go and Gemini Enterprise all work, per the docs.

To jump back to your own machine without disconnecting, click SSH: devbox in the sidebar and choose This Computer.

One thing worth knowing about your ~/.ssh/config: Antigravity forces ForwardAgent=no, ForwardX11=no, ControlMaster=no, RemoteCommand=none and ServerAliveInterval=15 on its own SSH command line. So if your Git push on the server relied on agent forwarding, it won't work from Antigravity's terminal. Put a deploy key on the server instead.

Why won't Antigravity connect over SSH? Every error code

When a connection fails, click Show Details on the "Couldn't connect" notification to get the code. This is the docs' table, with our plain-language notes:

Error codeWhat it meansFix
FORWARDING_PROHIBITEDThe SSH server blocks port forwardingSet AllowTcpForwarding yes (or local) in sshd_config on the host and every jump host, then reload sshd.
UNSUPPORTED_HOSTNot 64-bit Linux, glibc older than 2.26, or muslUse an x86_64/arm64 Debian, Ubuntu or RHEL-family machine. Alpine and Macs won't work.
INSTALL_FAILEDThe server couldn't install into ~/.antigravity-hub-server/Check df -h ~, make sure $HOME isn't mounted noexec, install gzip if there's no curl or wget, and keep ~/.bashrc silent in non-interactive shells.
AUTH_FAILEDSSH login failedTest ssh devbox in a terminal, check IdentityFile, run ssh-add -l.
HOSTKEY_REJECTEDHost key missing or changed in known_hostsConfirm the server really changed (a rebuild, a new IP) before running ssh-keygen -R devbox.
CONNECTION_FAILED / CONNECTION_CLOSEDNo ssh binary, host unreachable, or the tunnel droppedCheck ssh -V, ssh devbox and ANTIGRAVITY_SSH_BIN, then click Reconnect.
SSH_CONFIG_INVALIDssh rejected the config fileFix the reported line. Common causes: a bad option, permissions too open (chmod 600), a UTF-8 BOM or UTF-16 file, or picking known_hosts by mistake.
INVALID_DESTINATIONHost format not understoodUse a Host alias, user@host:port, user@[ipv6]:port, or write %40 for an @ inside a username.
SHARED_HOME_UNSUPPORTEDAnother machine with the same network $HOME already runs the serverConnect to that machine, click Take Over (this stops agents there), or give each host its own $HOME.
LS_START_FAILED / LS_STOPPEDThe remote server didn't start or exitedRead ~/.antigravity-hub-server/data/ls-*.log on the host and reconnect.

If the window connects but your tools are missing (wrong Node, no conda), it's usually the shell environment. The server loads it from $SHELL -l -i with a 10-second timeout. After editing ~/.bashrc or ~/.zshrc, run Stop SSH Server… and reconnect. The docs also suggest guarding any exec zsh line with [ -t 0 ].

Antigravity SSH vs Remote Control vs Remote Agents: which one?

Antigravity now has three remote options, and search results mix them up. The short version, from the SSH, Remote Control and Remote Agents docs:

OptionWhere agents runYou drive it fromBest when
Connect over SSHYour own Linux server or GPU boxThe Antigravity desktop appThe work needs that machine: its GPU, its data, its running services
Remote ControlYour own desktop or server, which must stay on and onlineAny web browser (antigravity.google.com)You want to check on a session already running at home or the office
Remote AgentsA Google-managed environmentApp, CLI or browserA GitHub repo, Drive files or uploads, with your laptop off. Google AI Pro or Ultra only, personal accounts

On plans: neither the SSH page nor the v2.33.0 changelog limits SSH to a plan, and the Plans page says every plan gets "access to all product features." The free plan's quota refreshes weekly, though, and Pro and Ultra refresh every five hours, so long agent runs on a server will hit the free limit faster. Remote Agents is the one remote option that's clearly paid-only.

If you only want a terminal, you never needed the app for this: the Antigravity CLI already runs over a normal SSH session and prints a sign-in link to open on your own computer. What v2.33.0 adds is the full app experience, with projects, worktrees and panels, running on the server.

Is it safe to point an agent at a real server?

The agent's shell commands now run on that server, with your SSH user's rights. Before connecting a production machine, check your permission settings and the Linux terminal sandbox, and use a non-root user. Saved conversations and settings live in ~/.gemini on the host. To remove everything, run Stop SSH Server… and delete ~/.antigravity-hub-server (and ~/.gemini if you want the history gone too).

What we'd do first

Run the pre-flight lines on your server, fix anything that fails, and connect with a throwaway project before a real one. Then start a long task, close the laptop, and reconnect an hour later to see it finished. That's the real point of this release. If you're picking a model for those long runs, our guide to Orchestrator (Neon) in Antigravity covers which plans get it, and our Claude Opus 5.5 in Antigravity check covers the trial rules. For other ways to run coding agents, see our comparison of AI coding tools.

FAQ: Antigravity SSH

Does Antigravity support SSH?

Yes. Since Antigravity App v2.33.0 (released November 17, 2026) the desktop app can connect to a remote 64-bit Linux machine over SSH. Projects, Git worktrees, agents, terminals and customizations then run on that machine. The rollout is gradual, so it can take a few days to reach every install.

How do I connect Antigravity to a remote server over SSH?

Add the server to ~/.ssh/config and test it with ssh yourhost in a terminal. Then in the Antigravity app press Cmd or Ctrl + Shift + P and run Connect to SSH Host..., or choose SSH Host... from Create New Project. Pick the host, click Connect, and sign in with Google when the (SSH: host) window opens. Antigravity installs its server on the host automatically.

What are the requirements for an Antigravity SSH host?

A 64-bit Linux machine (x86_64 or arm64) with glibc 2.26 or newer, such as Ubuntu 18.04+, Debian 10+ or RHEL 8+. The SSH server must allow port forwarding (AllowTcpForwarding yes or local), the host needs outbound HTTPS, and $HOME must be writable and executable. Your own computer needs Antigravity App v2.33.0+ and OpenSSH.

Can Antigravity connect over SSH to a Mac, Windows or Alpine machine?

No. The docs list macOS, Windows and musl-based Linux such as Alpine as unsupported hosts, and connecting to one gives the UNSUPPORTED_HOST error. Your local computer can be macOS, Windows or Linux; only the remote host has to be glibc Linux.

What does FORWARDING_PROHIBITED mean in Antigravity?

The SSH server has port forwarding turned off. Set AllowTcpForwarding yes (or local) in sshd_config on the host and on any ProxyJump host, reload sshd, and reconnect. You can check the current value with sudo sshd -T | grep allowtcpforwarding.

Do Antigravity agents keep running after I close the SSH window?

Yes. Closing the window, restarting the app, or a sleep or network drop leaves the remote server and agents running on the host, and you can reconnect later. Only Stop SSH Server... stops the agents and the server.

Is Antigravity SSH free?

Neither the SSH docs nor the v2.33.0 changelog limit it to a plan, and the Antigravity Plans page says every plan gets access to all product features. The free plan has a weekly quota, while Google AI Pro and Ultra refresh every five hours. Remote Agents, a different remote option, is only for Pro and Ultra.

What is the difference between Antigravity SSH, Remote Control and Remote Agents?

SSH runs agents on your own Linux server and you work from the desktop app. Remote Control lets you drive sessions running on your own computer from a web browser, and that computer must stay on. Remote Agents run in a Google-managed environment on GitHub repos, Drive files or uploads, for Google AI Pro and Ultra personal accounts.

Sources

FREE WEEKLY AI BRIEF

Free. Unsubscribe anytime. Free gift: 50 AI prompts that actually work, sent the moment you join. More about Decoded