Cursor freezes by every one minute on SSH connection

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m connecting to a port-forwarded Kubernetes pod via SSH.

  • Command I used: kubectl port-forward <pod_name> 2222:22

SSH config looks like this. The Multiplexing and Keep-alive sections aren’t necessary (I added them to try to fix the cursor issue, but they didn’t help):

Host pod-name
  HostName localhost
  Port 2222
  User root
# Multiplexing
ControlMaster auto
ControlPath ~/.ssh/<filename>
ControlPersist 30m
# Keep-alive
ServerAliveInterval 15
ServerAliveCountMax 3
TCPKeepAlive yes
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
  • Cursor freezes for about 7–10 seconds every minute. The period of freezing is exactly 60 seconds.
  • By “freeze,” I mean that the integrated terminal becomes unresponsive — it doesn’t accept any input, and autosave stops working (it shows “Saving…” and completes after about 10 seconds). Other SSH-dependent features likely stop working during that time as well.
  • I saw these lines in the log by every minute. Cursor freezes just before this log - for example, for this log, the editor freezed 14:17:17 ~ 14:17:25.
2025-11-04 14:17:26.426 [info] [remote-ssh] Pinging remote server via 127.0.0.1:57091...
2025-11-04 14:17:26.427 [info] [command][02b49143-a0ac-4cde-9faf-4d3b64799d48] Sending command request: {"command":"echo","args":["1"],"env":{},"token":"b6b5beca-187b-4807-b4f8-d3e717753732","id":"02b49143-a0ac-4cde-9faf-4d3b64799d48"}
2025-11-04 14:17:26.428 [info] [forwarding][multiplex][127.0.0.1:57091 -> 127.0.0.1:35027][9ae1b835-d40e-4c93-9aa9-bb827cd25a26] received connection request
2025-11-04 14:17:26.461 [info] [forwarding][multiplex][127.0.0.1:57091 -> 127.0.0.1:57070 -> 127.0.0.1:35027][9ae1b835-d40e-4c93-9aa9-bb827cd25a26] socks forwarding established
2025-11-04 14:17:26.477 [info] [command][02b49143-a0ac-4cde-9faf-4d3b64799d48] Process exited with code 0
2025-11-04 14:17:26.477 [info] [forwarding][multiplex][127.0.0.1:57091 -> 127.0.0.1:57070 -> 127.0.0.1:35027][9ae1b835-d40e-4c93-9aa9-bb827cd25a26] socks connection closed
2025-11-04 14:17:26.477 [info] [command][02b49143-a0ac-4cde-9faf-4d3b64799d48] Socket close event received

Steps to Reproduce

Sorry, but I’m not sure. I don’t know if this issue happens in all Kubernetes environments. If you need more information, please let me know — I’ll provide whatever details you need.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.54 (Universal)
VSCode Version: 1.99.3
Commit: 7a31bffd467aa2d9adfda69076eb924e9062cb20
Date: 2025-11-03T22:40:44.657Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Additional Information

  • Result of “Measure Extension Host Latency”
Roundtrip latency: 2.420ms
Up: 11428.6 Mbps
Down: 2253.5 Mbps

Authority: ssh-remote+7b22686f73744e616d65223a22667572696f73612d706f64227d
Roundtrip latency: 15.700ms
Up: 233.7 Mbps
Down: 484.3 Mbps
  • Remote SSH report. I removed the server name only
Cursor Remote SSH Connection Diagnostic Report - <server_name>
Generated on: 2025-11-04T05:11:39.280Z

****************************************************************************
* WARNING: This report may contain sensitive information.                  *
* Please review and redact any sensitive information before sharing.       *
****************************************************************************
Start Time: 2025-11-04T05:11:38.292Z

=== Program Versions ===
----------------------------------------
Node.js: Not installed
cURL: curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18
Wget: GNU Wget 1.21.2 built on linux-gnu.
Base64: base64 (GNU coreutils) 8.32
Grep: grep (GNU grep) 3.7

=== Environment Variables ===
----------------------------------------
HOME=/root
LOGNAME=root
MOTD_SHOWN=pam
OLDPWD=/root
PATH=/root/.deno/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/root
SHELL=/usr/bin/zsh
SHLVL=0
SSH_CLIENT=127.0.0.1 57208 22
SSH_CONNECTION=127.0.0.1 57208 127.0.0.1 22
TZ=Asia/Seoul
USER=root
_=/usr/bin/env

=== Host Platform Information ===
----------------------------------------
OS Release Information:
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

System Information:
Linux muhwan-0 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

=== Network Connectivity Test ===
----------------------------------------
Attempting to download https://cursor.blob.core.windows.net/remote-releases/connectioncheck.txt
Testing connection using curl...
Starting download at: 2025-11-04T05:11:38.375Z
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0    39    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
HTTP/1.1 200 OK
Content-Length: 39
Content-Type: text/plain
Content-MD5: oaP95PsjwBzMeHk5mxQiOA==
Last-Modified: Thu, 05 Jun 2025 20:45:41 GMT
ETag: 0x8DDA471EFBC9731
Vary: Origin
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: ac711444-f01e-0007-3049-4d0fc7000000
x-ms-version: 2009-09-19
x-ms-lease-status: unlocked
x-ms-blob-type: BlockBlob
Date: Tue, 04 Nov 2025 05:11:39 GMT

Command finished at: 2025-11-04T05:11:39.256Z

=== SSH Configuration ===
----------------------------------------
User SSH Config:
File not found: /root/.ssh/config

System SSH Config:

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Include /etc/ssh/ssh_config.d/*.conf

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   IdentityFile ~/.ssh/id_ecdsa
#   IdentityFile ~/.ssh/id_ed25519
#   Port 22
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,[email protected]
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p gateway.example.com
#   RekeyLimit 1G 1h
#   UserKnownHostsFile ~/.ssh/known_hosts.d/%k
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes

=== Additional System Information ===
----------------------------------------
Network Interfaces:
Network interface information not available

DNS Configuration:
search software.svc.cluster.local svc.cluster.local cluster.local
nameserver 10.96.0.10
options ndots:5

Current User Information:
uid=0(root) gid=0(root) groups=0(root)
root

Process Information:
root     2600655  0.1  0.0  18040 12080 ?        Ss   13:51   0:01 sshd: root@notty
root     2634291  0.0  0.0  15440  4780 ?        Ss   Jun11   0:00 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups
root     2649967  0.0  0.0   3472  1608 ?        S    14:11   0:00 grep -i ssh

============================================
End of Diagnostic Report
End Time: 2025-11-04T05:11:39.285Z

Does this stop you from using Cursor

Yes - Cursor is unusable

The same issue also occurs on connection via direct kubernetes pod attach without ssh port-forwarding.

1 Like