Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After anysphere.remote-ssh auto-updated to version 1.0.51 (released May 22, 2026), the Remote SSH extension becomes completely non-functional. Clicking on any host in the “Connect to Host” list does nothing — no connection attempt, no error message, no feedback whatsoever.
Inspecting the logs reveals the root cause: the extension is passing a hex-encoded JSON string as the SSH hostname instead of the actual IP address:
ssh: Could not resolve hostname 7b22686f73744e616d65223a22726f6f744038392e3131302e38362e313535227d: -65540
Decoded, this is: {"hostName":"root@<ip>"} — the extension is serializing the host object to JSON and hex-encoding it instead of extracting the hostname string. SSH naturally cannot resolve this.
Rolling back to version 1.0.50 fixes the issue immediately.
Steps to Reproduce
- Allow anysphere.remote-ssh to auto-update to v1.0.51
- Open Command Palette →
Remote-SSH: Connect to Host - Select any configured host or type
user@hostmanually - Press Enter or click the host
- Nothing happens
Expected Behavior
Cursor should initiate an SSH connection to the selected host as it did in v1.0.50 and earlier.
Log excerpt from Remote SSH output panel:
[info] Launching SSH server via shell with command: ... ssh -T -D 51058 7b22686f73744e616d65223a22726f6f744038392e3131302e38362e313535227d bash --login -c bash
[error] ssh: Could not resolve hostname 7b22686f73744e616d65223a22726f6f744038392e3131302e38362e313535227d: -65540
[error] SSH process exited (code 255) before connection was established
Operating System
MacOS
Version Information
Cursor IDE — latest stable as of May 22, 2026
anysphere.remote-ssh 1.0.51 (broken) / 1.0.50 (working)
For AI issues: which model did you use?
N/A
For AI issues: add Request ID with privacy disabled
N/A
Additional Information
This is not an isolated issue — multiple users reported the same problem on the same day the update dropped.
Workaround (for anyone hitting this):
# Remove broken version
rm -rf ~/.cursor/extensions/anysphere.remote-ssh-1.0.51
# Download and install v1.0.50
curl -L "https://downloads.cursor.com/production/extensions/73a45d83-83c7-4b22-bebf-c9130b0ab3f3/1.0.50/Microsoft.VisualStudio.Services.VSIXPackage" \
-o /tmp/remote-ssh-1.0.50.vsix
mkdir -p /tmp/remote-ssh-unpacked
unzip -o /tmp/remote-ssh-1.0.50.vsix -d /tmp/remote-ssh-unpacked
cp -r /tmp/remote-ssh-unpacked/extension/. ~/.cursor/extensions/anysphere.remote-ssh-1.0.50/
Then disable Auto Update on the extension to prevent it from reverting.
Does this stop you from using Cursor
Yes - Cursor is unusable