# \[Bug\] Agent Window: agent host bundle is sent as 0 bytes, install fails with "tar: Error is not recoverable" (Windows10)

**URL:** <https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660>\
**Category:** Bug Reports\
**Tags:** windows, agents-window, ssh\
**Created:** [December 1, 2026, 4:22am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660 "2026-12-01T04:22:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![n\_zp](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@n\_zp](https://forum.cursor.com/u/n_zp)\
**Post date:** [December 1, 2026, 4:22am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/1 "2026-12-01T04:22:17Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

In Cursor 3.32.24 on Windows 10 22H2 (build 19045), setting “Agents Window Type”  
to Beta makes every SSH remote connection fail with  
“Permission denied (publickey,password)”.

The transport layer connects (server banner and key exchange complete), so this  
is an authentication failure, not a network failure. No password prompt is ever  
shown in Beta mode.

Switching “Agents Window Type” back to Default immediately connects, with the  
same ~/.ssh/config and the same Ed25519 key. The failure is 100% reproducible  
and survives an application restart.

The Beta window uses the molten engine  
(%APPDATA%\Cursor\molten\logs\remote-ssh\<host\>.log), whose log shows the same  
error, while the Default (classic Remote-SSH) log shows a successful connection.

The key is Ed25519 in OpenSSH format with no passphrase. Starting the Windows  
ssh-agent service and loading the key with ssh-add does not help - the engine  
does not reference the Windows agent pipe \.\pipe\openssh-ssh-agent.

### Steps to Reproduce

1. Open Cursor 3.32.24 on Windows 10 22H2.
2. Go to Settings and set “Agents Window Type” to Beta (restart if prompted).
3. Connect to an SSH host that authenticates with an Ed25519 key  
(no password needed; the same host connects fine from Default mode  
and from the system ssh client).
4. Observe the error: “Permission denied (publickey,password)” and  
“ didn’t accept your credentials”.
5. Switch “Agents Window Type” back to Default and reconnect.  
The connection succeeds immediately, with no other change.

### Expected Behavior

Public-key authentication should succeed in Beta mode, exactly as it does in  
Default mode and with the system ssh client. The same ~/.ssh/config  
(User + IdentityFile + IdentitiesOnly) and the same Ed25519 key work in  
Default mode, so the credential itself is valid.

### Screenshots / Screen Recordings

[Cursor\_Beta\_SSH\_BugReport\_2026-12-01.txt](https://forum.cursor.com/uploads/short-url/dr99JbWXxxsIjAiGXJ7GJdb6WgK.txt) (5.31 KB)

 ![beta choice.PNG](https://us1.discourse-cdn.com/cursor1/original/3X/e/3/e3cf21c0e98bd0badd70258d352b81970697277a.png) ![error.PNG](https://us1.discourse-cdn.com/cursor1/original/3X/6/d/6d59c4d9a2611d67bc2e6b6ebbfce415adcfe522.png)

### Operating System

Windows 10/11

### Version Information

Cursor IDE 3.32.24 (stable channel)  
OS: Windows 10 Pro 22H2, build 19045 (x64)  
Agents Window Type: Beta

### For AI issues: which model did you use?

N/A - this is an SSH connection issue, not a model issue.

### For AI issues: add Request ID with privacy disabled

N/A - no AI request involved.

### Additional Information

Logs

- Failing (Beta / molten engine):  
%APPDATA%\Cursor\molten\logs\remote-ssh\<host\>.log
- Working (Default / classic Remote-SSH):  
%APPDATA%\Cursor\logs\<timestamp\>\window\*\exthost\anysphere.remote-ssh\*.log

Troubleshooting already tried (none helped)

- IdentityFile written as “~/.ssh/id\_ed25519” and as an absolute Windows path
- IdentitiesOnly yes
- Windows ssh-agent service started and the key loaded via ssh-add  
(confirmed by “ssh-add -l” before retrying)
- Full application restart after every change

Static check of resources\app\molten\dist\engine\engine.cjs

- 0 occurrences of “ed25519”, “ssh-ed25519”, “curve25519”
- 0 occurrences of “openssh-ssh-agent” (the Windows agent named pipe)
- “SSH\_AUTH\_SOCK” appears only in code that forwards the agent to the remote host

Remote host: Ubuntu, OpenSSH server, publickey + password both enabled.  
The same key and the same ~/.ssh/config connect successfully in Default mode,  
so the credential, the server and the network path are all fine.

Suggestion: if Ed25519 keys are not supported by the Beta SSH client yet, an  
explicit “unsupported key type” error would be far more actionable than  
“Permission denied (publickey,password)”.

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [December 1, 2026, 9:45am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/5 "2026-12-01T09:45:52Z")

</div>

Hi @n_zp, the Beta window doesn’t have its own SSH client. It runs the `ssh` that’s on your PATH, the same OpenSSH your terminal uses, so Ed25519 keys and the Windows ssh-agent are handled by ssh itself. That’s why you found no key code in engine.cjs.

One thing does differ on Windows: the Beta window currently runs ssh without any prompts, which is why you never get asked for a password. Prompts for passwords and passphrases there are on the way in an upcoming update. Until then, keeping Agents Window Type on Default for this host is the way to go.

That still doesn’t explain why your key is refused. Could you run this in PowerShell, with the host written exactly as it appears in the Beta window, and paste the output (mask names if you like)?

```
where.exe ssh; ssh -v -o BatchMode=yes -T <host> exit

```

It shows which ssh, user and key get used, which should tell us where the two windows differ.

---

<div class="post-metadata">

**Author:** ![n\_zp](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@n\_zp](https://forum.cursor.com/u/n_zp)\
**Post date:** [December 1, 2026, 11:41am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/7 "2026-12-01T11:41:47Z")

</div>

Hi @Colin

 ![新的异常](https://us1.discourse-cdn.com/cursor1/original/3X/a/0/a0d3a7462e3742f631a67c92264add06d8811812.png)

Follow-up with the root cause, plus evidence from both layers.

TL;DR  
The agent host bundle sent to the host is 0 bytes, so tar has nothing to  
extract. SSH itself is fine.

1. The bundle is empty (this is the bug)  
I polled ~/.grok/agent-host-daemon/daemon/.tmp-\*.tgz every 20 ms while the  
install was running:

$ ls -lS /tmp/grab/  
total 0  
-rw-rw-r-- 1 0 Dec 1 19:25 snap-0.tgz

Only a 0-byte snapshot ever appeared, and no intermediate sizes were observed.  
A real bundle would take at least a few hundred milliseconds to stream over  
SSH, so partial sizes would have been caught. Nothing is being transferred.

The script’s own integrity check does not catch it: sha256 of an empty file is  
always e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.  
If the engine derives the expected hash from the same empty buffer, both sides  
agree, and execution continues to:

tar -xozf \<0-byte file\>  
gzip: stdin: unexpected end of file  
tar: Error is not recoverable: exiting now

which is exactly the error the host reports.

1. SSH is not the problem  
Public-key auth works and the key has pty enabled:

$ ssh -o BatchMode=yes -T exit  
Authenticated to ([]:22) using “publickey”.  
debug1: Remote: /home//.ssh/authorized\_keys:1: key options:  
agent-forwarding port-forwarding pty user-rc x11-forwarding  
debug1: Exit status 0

So both “key rejected” and “no PTY” are ruled out.

1. What else is ruled out (checked on the host)

- Ubuntu 20.04, glibc 2.31, GNU tar 1.30, gzip 1.10
- /home has 750 GB free, inodes at 34%
- No proxy configured
- The 120 MB Linux runtime tarball downloads and extracts fine on the same host
- Client: resources/app/extensions/cursor-agent-host is 57 MB / 196 files
- Client: AppData/Roaming/Cursor/agent-harness is 28 MB, two versions present
- [https://downloads.cursor.com/agent-host-harness/channels/stable/latest.json](https://downloads.cursor.com/agent-host-harness/channels/stable/latest.json)  
returns HTTP 200

1. Environment

- Cursor 3.33.4, Windows 10 22H2 (build 19045), dev release track
- Remote host: Linux x86\_64

Question  
Can you check whether the agent host bundle is empty in 3.32.24? The local  
extension directory is complete, so this looks like a packaging or streaming  
bug on the client side rather than a missing file.

Reproduction is deterministic: every retry creates a new 0-byte temp file and  
fails at the same tar step.

---

<div class="post-metadata">

**Author:** ![n\_zp](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@n\_zp](https://forum.cursor.com/u/n_zp)\
**Post date:** [December 1, 2026, 12:10pm UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/11 "2026-12-01T12:10:28Z")

</div>

Agent Window fails, classic IDE works - same machine, same host, same key.

IDE (Cursor.exe --classic): SSH publickey auth OK, explorer/terminal/agent  
panel all functional.

Agent Window (–glass): “Grok Build couldn’t install the agent host. The host  
reported tar: Error is not recoverable”. The bundle it sends is 0 bytes  
(captured with a 20 ms poll; only snap-0.tgz appeared).

Reproduced on 3.32.24 and 3.33.4. Not urgent - using the classic window - but  
the Agent Window is unusable on Windows. Could you check the client-side  
packaging of the agent host bundle?

 ![IDE](https://us1.discourse-cdn.com/cursor1/original/3X/2/b/2b2ccfd2ed3ab0d2278c04efd7a4b78dd87cf8bc.png)

 ![Agent Windows error](https://us1.discourse-cdn.com/cursor1/original/3X/e/e/eea254e4e2d22ede0fedc572c6a456ff8072066f.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [December 1, 2026, 2:06pm UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/15 "2026-12-01T14:06:36Z")

</div>

Hi @n_zp, you’re right that nothing gets transferred, and it is on the client side. We could reproduce it.

The Agents Window packs the agent host on the fly with Windows’ built-in `tar.exe`. The version that ships with Windows 10 writes to a tape device by default instead of to the pipe, so the stream comes out empty, and the checksum then matches the empty stream just as you guessed. Windows 11’s newer tar doesn’t do this, so it only shows up on Windows 10, on 3.32.24 and 3.33.4 alike. Your install is complete.

I’ve passed this on to the team. The classic window stays the reliable way to reach this host for now.

If you want to keep using the Agents Window in the meantime, this should get the install through (it did in our reproduction, but we haven’t tried it on a Windows 10 PC):

1. In PowerShell, run:

```auto
[Environment]::SetEnvironmentVariable("TAPE", "-", "User")

```

2. Quit Cursor completely, then start it again from the Start menu.
3. Connect to the host in the Agents Window again.

Let me know if that connects.

---

<div class="post-metadata">

**Author:** ![n\_zp](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@n\_zp](https://forum.cursor.com/u/n_zp)\
**Post date:** [December 2, 2026, 1:32am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/16 "2026-12-02T01:32:03Z")

</div>

Hi @Colin thanks  
Confirmed on a real Windows 10 machine - TAPE=- works.

Environment: Windows 10 22H2 (build 19045), Cursor 3.32.24 (stable), TAPE set  
to “-” at user scope, Cursor started fresh from the Start menu.

The Agents Window connected and installed the agent host this time:

[info] Installing agent host eba1bfa4f2b90790-linux-x64-rb7881efc-l6  
[info] Agent host installed  
[info] File server started on the host’s port 36861, ready in 1.4s  
[info] Connected to agent host 1.0.0 pid 3212820 in 20.7s

No “tar: Error is not recoverable”, and the 0-byte temp file is gone. So the  
workaround holds outside your reproduction environment as well.

Two details that may be useful:

- I’m on 3.32.24 with update.mode=none, so no update interfered mid-test.
- I’ll keep TAPE=- in place until a build with the fix ships, then remove it.

Thanks again - this unblocked the Agents Window for me.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [December 2, 2026, 9:43am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/22 "2026-12-02T09:43:44Z")

</div>

Hi @n_zp, thanks for confirming it on Windows 10, good to know it holds there too.

Leaving `TAPE=-` set is fine for as long as you need it. It only matters for tar commands that run without `-f`, so it won’t get in the way of anything else on your PC. When you want to remove it again:

```auto
[Environment]::SetEnvironmentVariable("TAPE", $null, "User")

```

---

<div class="post-metadata">

**Author:** ![Breno\_Colonetti](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Breno\_Colonetti](https://forum.cursor.com/u/Breno_Colonetti)\
**Post date:** [December 2, 2026, 11:29am UTC](https://forum.cursor.com/t/bug-agent-window-agent-host-bundle-is-sent-as-0-bytes-install-fails-with-tar-error-is-not-recoverable-windows10/179660/25 "2026-12-02T11:29:58Z")

</div>

### Where does the bug appear (feature/product)?

Grok Build (formerly Cursor)

### Describe the Bug

**Where does the bug appear (feature/product)?**

- Remote (SSH / Dev Containers / WSL)

**Describe the Bug**  
When connecting Grok Build Agent to our remote server over SSH (`ubuntu@192.168.0.51`), the connection authenticates successfully, but the agent host fails to install. The error is:

“Grok Build couldn’t install the agent host. The host reported ‘tar: Error is not recoverable: exiting now’.”

The problems started after we switched from the previous Cursor agent to Grok Build Agent. On December 1 it went away after resending the prompt. On December 2 it came back, and both “Try again” and a new chat fail the same way.

**Steps to Reproduce**

1. Open Cursor with Grok Build Agent.
2. Connect to the remote Linux server over SSH (`ubuntu@192.168.0.51`).
3. Open a chat (new or existing).
4. The agent tries to install the agent host and fails with the tar error. Automatic retries also fail.

**Expected Behavior**  
The agent host installs on the remote server and the chat opens, as it did with the previous Cursor agent.

**Screenshots / Screen Recordings**  
Attach the error screen and the connection details log.

**Operating System**

- Windows 10/11 (client)
- Remote server: Linux x86\_64 (glibc 2.39)

**Version Information**  
IDE: please paste from Menu → About Cursor → Copy. We don’t have it here.  
Remote runtime reused successfully: `cursor-3.27.22-b1aa50cb-l6-linux-x64-b7881efc`

**For AI issues: which model did you use?**  
Grok 4.7 High Fast

**For AI issues: add Request ID with privacy disabled**  
Not available.

**Additional Information**  
Connection log, 5 attempts, all identical:

- SSH authentication succeeds every time (“using publickey”).
- Agent host folder: `~/.grok/agent-host-daemon`
- “Reusing runtime cursor-3.27.22-b1aa50cb-l6-linux-x64-b7881efc”
- Fails at “Installing agent host 745b662b5bdb2f46-linux-x64-rb7881efc-l6”

Checked on the server over a regular SSH session:

- Disk `/`: 124 GB, 21 GB free (83%)
- Inodes: 74% used
- GNU tar 1.35, working
- `~/.grok` and `~/.grok-quebrado-0112`: 210 MB each, last modified December 1 (09:04 and 09:00). Today’s failure did not write anything there.
- Nothing was deleted. Regular SSH to the same server works.

**Does this stop you from using Cursor?**

- Sometimes - I can sometimes use Cursor (regular SSH works; Grok Build Agent on the remote server does not)

### Steps to Reproduce

1. Open Cursor with Grok Build Agent.
2. Connect to a remote Linux server over SSH.
3. Open a chat (new or existing) in that remote session.
4. The agent tries to install the agent host and fails with: tar: Error is not recoverable: exiting now.

### Operating System

Windows 10/11

### Version Information

Version: 3.32.25

### For AI issues: which model did you use?

Grok 4.7

### Does this stop you from using Grok

Sometimes - I can sometimes use Grok
