# Antigravity opens WSL and not Windows when SSHing

**URL:** <https://discuss.ai.google.dev/t/antigravity-opens-wsl-and-not-windows-when-sshing/116565>\
**Category:** Google Antigravity\
**Tags:** windows\
**Created:** [January 22, 2026, 4:35am UTC](https://discuss.ai.google.dev/t/antigravity-opens-wsl-and-not-windows-when-sshing/116565 "2026-01-22T04:35:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![atul\_purna](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/atul_purna/32/84595_2.png) [@atul\_purna](https://discuss.ai.google.dev/u/atul_purna)\
**Post date:** [January 22, 2026, 4:35am UTC](https://discuss.ai.google.dev/t/antigravity-opens-wsl-and-not-windows-when-sshing/116565/1 "2026-01-22T04:35:49Z")

</div>

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:

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

# Server installation script

...

```

After disabling WSL, it always shows:

```auto
...

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?

---

<div class="post-metadata">

**Author:** ![Abhijit\_Pramanik](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/abhijit_pramanik/32/32083_2.png) [@Abhijit\_Pramanik](https://discuss.ai.google.dev/u/Abhijit_Pramanik)\
**Post date:** [February 10, 2026, 12:39am UTC](https://discuss.ai.google.dev/t/antigravity-opens-wsl-and-not-windows-when-sshing/116565/2 "2026-02-10T00:39:16Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![oarasaiah](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/oarasaiah/32/100583_2.png) [@oarasaiah](https://discuss.ai.google.dev/u/oarasaiah)\
**Post date:** [March 4, 2026, 7:30pm UTC](https://discuss.ai.google.dev/t/antigravity-opens-wsl-and-not-windows-when-sshing/116565/3 "2026-03-04T19:30:46Z")

</div>

having the same issue.

---

<div class="post-metadata">

**Author:** ![Scott2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/scott2/32/121311_2.png) [@Scott2](https://discuss.ai.google.dev/u/Scott2)\
**Post date:** [May 13, 2026, 2:31am UTC](https://discuss.ai.google.dev/t/antigravity-opens-wsl-and-not-windows-when-sshing/116565/4 "2026-05-13T02:31:38Z")

</div>

I am experiencing the same problem. I have been waiting, hoping that an update would resolve it over time, but it still hasn’t been fixed.
