Antigravity opens WSL and not Windows when SSHing

I have SSH configured on my Windows 10 work PC. If I SSH into it from my home Windows 10 laptop using PowerShell, it works as expected (launches on Windows). But if I try the same thing in Antigravity using the Remote-SSH: Connect to SSH Host, it opens in WSL.

So far, I’ve tried:

  1. Adding port 2222 to ssl config on the PC and shutting down WSL (it forces WSL open)
  2. Adding "remote.SSH.remotePlatform": { "PC": "windows" } (did nothing)
  3. Adding RemoteCommand powershell.exe and RequestTTY yes to Antigravity SSH config (nope)
  4. Removing WSL from windows features list (it now does not connect)
  5. Changing C:\Users\atc\AppData\Local\Programs\Antigravity\bin\antigravity’s WSL_EXT_ID="ms-vscode-remote.remote-wsl" to WSL_EXT_ID="google.antigravity-remote-wsl and copying scripts (still not working).

The logs always, no matter what changes I made, included:

2026-01-21 18:50:10.208 [info] [Info	- 12:50:10.192] Bash script:

# Server installation script

...

After disabling WSL, it always shows:

...

2026-01-21 18:50:17.586 [info] [Error	- 12:50:17.585] SSH server closed unexpectedly.
Error code: 1

PowerShell has consistently sent me to Windows regardless of any of the changes.

How can I make it open in Windows?

2 Likes

Hello @atul_purna,
We apologies for the delay in getting back to you. Could you please let us know if you are still experiencing the issue?

having the same issue.