Bug: Antigravity Remote SSH opens an external terminal window on Windows

Hi,

When I use Antigravity Remote SSH on Windows, an external terminal window opens every time I start an SSH connection.

The terminal window appears as a Windows terminal / command prompt running something like:

C:\Windows\System32\OpenSSH\ssh.exe

The window itself is mostly empty and stays open while the SSH connection is active.

If I close this terminal window, the SSH connection immediately disconnects, which suggests that Antigravity is running the SSH process inside that external terminal instead of running it in the background.


If I force close the window, Antigravity shows a message saying:

“Reconnecting to remote authority.”

This behavior is disruptive because a new terminal window pops up each time I connect, and it needs to remain open for the connection to stay alive.

Environment:

  • OS: Windows_NT x64 10.0.26200
  • SSH client: Windows built-in OpenSSH (C:\Windows\System32\OpenSSH\ssh.exe)
  • Feature: Antigravity Remote SSH
  • Antigravity Version: 1.19.6
  • VSCode OSS Version: 1.107.0 (user setup)
  • Date: 2026-02-26T23:07:23.202Z
  • Electron: 39.2.3
  • Chromium: 142.0.7444.175
  • Node.js: 22.21.1
  • V8: 14.2.231.21-electron.0

Questions:

  1. Is there a way to run the SSH process in the background without opening a separate terminal window?
  2. Is there a configuration option to use an internal terminal or hide the login terminal?

Thanks!

5 Likes

I found a workaround by explicitly passing the path to the SSH binary which is installed via Git for Windows (I assume you already have this installed).

Inside Antigravity go into the VSCode settings (Ctrl+P → Open Settings) and look for remote.antigravitySSH.path, then paste in the path C:\Progra~1\Git\usr\bin\ssh.exe. In my case, I couldn’t use the “usual” path “C:\Program Files\Git\usr\bin\ssh.exe” since apparently spaces are not properly escaped even if quoted (wow…).

3 Likes

According to rriu’s comment, it appears that the ssh bundled with git is a solution to this problem.

Thus, it’ll be also fixed with adding “C:\Program Files\Git\usr\bin” to the system PATH environment variable (shall be placed before the “C:\Windows\System32\OpenSSH\”).