I can’t seem to connect to my remote server using the Remote SSH extension on Cursor despite being able to do so from VScode. This issue stops us from using Cursor. I tried to re-install the extension, delete the cursor server from the remote server and restart the remote server. Could it be an issue with GLIBC?
Here is the cursor information
Version: 0.46.2
VSCode Version: 1.96.2
Commit: 84b9c6d907219bb8c2874f299540eb6a079187a0
Date: 2025-02-23T00:58:36.467Z (2 days ago)
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0
Here is a file with the error message
[20:23:53.073] Log Level: 2
[20:23:53.083] SSH Resolver called for “ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d”, attempt 1
[20:23:53.084] “remote.SSH.useLocalServer”: true
[20:23:53.084] “remote.SSH.useExecServer”: false
[20:23:53.084] “remote.SSH.path”:
[20:23:53.084] “remote.SSH.configFile”:
[20:23:53.084] “remote.SSH.useFlock”: true
[20:23:53.084] “remote.SSH.lockfilesInTmp”: true
[20:23:53.084] “remote.SSH.localServerDownload”: off
[20:23:53.084] “remote.SSH.remoteServerListenOnSocket”: false
[20:23:53.084] “remote.SSH.showLoginTerminal”: true
[20:23:53.084] “remote.SSH.defaultExtensions”:
[20:23:53.084] “remote.SSH.loglevel”: 2
[20:23:53.085] “remote.SSH.enableDynamicForwarding”: false
[20:23:53.085] “remote.SSH.enableRemoteCommand”: false
[20:23:53.085] “remote.SSH.serverPickPortsFromRange”: {}
[20:23:53.087] “remote.SSH.serverInstallPath”: {}
[20:23:53.087] “remote.SSH.permitPtyAllocation”: false
[20:23:53.087] "remote.SSH.preferredLocalPortRange: undefined
[20:23:53.088] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[20:23:53.089] VS Code version: 0.46.2
[20:23:53.089] Remote-SSH version: [email protected]
[20:23:53.089] darwin arm64
[20:23:53.091] SSH Resolver called for host: EC2Autoscaling
[20:23:53.091] Setting up SSH remote “EC2Autoscaling”
[20:23:53.093] Acquiring local install lock: /var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-remote-ssh-05dbf7cb-install.lock
[20:23:53.094] Looking for existing server data file at /Users/nk/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-05dbf7cb-84b9c6d907219bb8c2874f299540eb6a079187a0-0.113.1-tr/data.json
[20:23:53.094] Using commit id “84b9c6d907219bb8c2874f299540eb6a079187a0” and quality “stable” for server
[20:23:53.097] Install and start server if needed
[20:23:53.100] PATH: /opt/homebrew/opt/llvm@12/bin:/Users/nk/.nvm/versions/node/v20.9.0/bin:/Users/nk/.docker/bin:/Users/nk/.gem/ruby/3.0.0/bin:/opt/homebrew/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/share/dotnet:~/.dotnet/tools:/usr/local/go/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/nk/.cargo/bin:/Users/nk/.fig/bin:/Users/nk/.local/bin:/Users/nk/.cabal/bin:/Users/nk/.ghcup/bin
[20:23:53.100] Checking ssh with “ssh -V”
[20:23:53.110] > OpenSSH_9.8p1, LibreSSL 3.3.6
[20:23:53.112] askpass server listening on /var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-ssh-askpass-29a996d633c95b7def70e5208ec17878f460e125.sock
[20:23:53.112] Spawning local server with {“serverId”:1,“ipcHandlePath”:“/var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-ssh-askpass-0ddb38d772caeee8c5d8dd613c7c4af63c4700b4.sock”,“sshCommand”:“ssh”,“sshArgs”:[“-v”,“-T”,“-D”,“50052”,“EC2Autoscaling”],“serverDataFolderName”:“.cursor-server”,“dataFilePath”:“/Users/nk/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-05dbf7cb-84b9c6d907219bb8c2874f299540eb6a079187a0-0.113.1-tr/data.json”}
[20:23:53.112] Local server env: {“SSH_AUTH_SOCK”:“/private/tmp/com.apple.launchd.49MJW6kuAG/Listeners”,“SHELL”:“/bin/zsh”,“DISPLAY”:“1”,“ELECTRON_RUN_AS_NODE”:“1”,“SSH_ASKPASS”:“/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/local-server/askpass.sh”,“VSCODE_SSH_ASKPASS_NODE”:“/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”,“VSCODE_SSH_ASKPASS_MAIN”:“/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“/var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-ssh-askpass-29a996d633c95b7def70e5208ec17878f460e125.sock”}
[20:23:53.113] Spawned 47788
[20:23:53.192] > local-server-1> Running ssh connection command: ssh -v -T -D 50052 EC2Autoscaling
[20:23:53.194] > local-server-1> Spawned ssh, pid=47801
[20:23:53.200] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[20:23:53.298] > ready: 323cdd0cbb39
[20:23:53.332] > Linux 5.10.233-224.894.amzn2.aarch64 #1 SMP Mon Jan 27 16:53:26 UTC 2025
[20:23:53.332] Platform: linux
[20:23:53.362] > /bin/bash
[20:23:53.362] Shell: bash
[20:23:53.362] Creating bash subshell inside “bash”
[20:23:53.423] > bash version: 4.2.46(2)-release
[20:23:53.449] > bash version: 4.2.46(2)-release
[20:23:53.467] > 323cdd0cbb39: running
[20:23:53.489] > Acquiring lock on /run/user/1000/vscode-remote-lock.ec2-user.84b9c6d907219bb8c2874f299540eb6a079187a0
[20:23:53.491] > Found existing installation at /home/ec2-user/.cursor-server/bin/84b9c6d907219bb8c2874f299540eb6a079187a0…
Checking /home/ec2-user/.cursor-server/.84b9c6d907219bb8c2874f299540eb6a079187a0.log and /home/ec2-user/.cursor-server/.84b9c6d907219bb8c2874f299540eb6a079187a0.pid for a running server
Looking for server with pid: 13303
[20:23:53.506] > Starting VS Code Server… “/home/ec2-user/.cursor-server/bin/84b9c6d907219bb8c2874f299540eb6a079187a0/bin/cursor-server” --start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown --port=0 --telemetry-level all &> “/home/ec2-user/.cursor-server/.84b9c6d907219bb8c2874f299540eb6a079187a0.log” < /dev/null
The VS Code Server log file is /home/ec2-user/.cursor-server/.84b9c6d907219bb8c2874f299540eb6a079187a0.log
printenv:
XDG_SESSION_ID=3
HOSTNAME=ip-10-0-25-177.ec2.internal
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=108.16.80.145 49617 22
USER=ec2-user
SSH_AUTH_SOCK=/tmp/ssh-ykm3CFUeWu/agent.2125
VSCODE_AGENT_FOLDER=/home/ec2-user/.cursor-server
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/go/bin:/home/ec2-user/go/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin
MAIL=/var/spool/mail/ec2-user
PWD=/home/ec2-user
LANG=en_US.UTF-8
HISTCONTROL=ignoredups
HOME=/home/ec2-user
SHLVL=2
LOGNAME=ec2-user
SSH_CONNECTION=108.16.80.145 49617 10.0.25.177 22
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_RUNTIME_DIR=/run/user/1000
_=/usr/bin/printenv
[20:23:53.508] > Removing old logfile at /home/ec2-user/.cursor-server/.84b9c6d907219bb8c2874f299540eb6a079187a0.log
Spawned remote server: 16315
[20:23:53.521] > Waiting for server log…
[20:24:07.716] > Waiting for server log…
[20:24:07.747] > Waiting for server log…
[20:24:07.786] > Waiting for server log…
[20:24:07.813] > Waiting for server log…
[20:24:07.842] > Waiting for server log…
[20:24:07.874] > Waiting for server log…
[20:24:07.905] > Waiting for server log…
[20:24:07.936] > Waiting for server log…
[20:24:07.970] >
- Visual Studio Code Server
- By using the software, you agree to
- the Visual Studio Code Server License Terms (License - Visual Studio Code Server) and
- the Microsoft Privacy Statement (Microsoft Privacy Statement – Microsoft privacy).
[20:24:07.973] > Server did not start successfully. Full server log at /home/ec2-user/.cursor-server/.84b9c6d907219bb8c2874f299540eb6a079187a0.log >>>
/home/ec2-user/.cursor-server/bin/84b9c6d907219bb8c2874f299540eb6a079187a0/node: /lib64/libm.so.6: version `GLIBC_2.27’ not found (required by /home/ec2-user/.cursor-server/bin/84b9c6d907219bb8c2874f299540eb6a079187a0/node)
/home/ec2-user/.cursor-server/bin/84b9c6d907219bb8c2874f299540eb6a079187a0/node: /lib64/libc.so.6: version `GLIBC_2.28’ not found (required by /home/ec2-user/.cursor-server/bin/84b9c6d907219bb8c2874f299540eb6a079187a0/node)
<<< End of server log
323cdd0cbb39: start
exitCode==32==
listeningOn====
osReleaseId==amzn==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime==14462==
323cdd0cbb39: end
[20:24:07.973] Received install output:
exitCode==32==
listeningOn====
osReleaseId==amzn==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime==14462==
[20:24:07.974] Terminating local server
[20:24:07.976] Resolver error: Error: The VS Code Server failed to start
at m.ServerInstallError (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:501164)
at d (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:494373)
at t.handleInstallOutput (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:496643)
at e (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:560424)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:582481
at async t.withShowDetailsEvent (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:586100)
at async /Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:557129
at async T (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:555180)
at async t.resolveWithLocalServer (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:556669)
at async k (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:579620)
at async t.resolve (/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:583511)
at async /Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/extension.js:2:851172
[20:24:07.979] ------
[20:24:07.981] Local server exit: 15
[20:24:08.356] Opening exec server for ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d
[20:24:08.365] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d
[20:24:08.366] Acquiring local install lock: /var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-remote-ssh-05dbf7cb-install.lock
[20:24:08.391] Looking for existing server data file at /Users/nk/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-05dbf7cb-84b9c6d907219bb8c2874f299540eb6a079187a0-0.113.1-es/data.json
[20:24:08.391] Using commit id “84b9c6d907219bb8c2874f299540eb6a079187a0” and quality “stable” for server
[20:24:08.392] Install and start server if needed
[20:24:08.397] askpass server listening on /var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-ssh-askpass-8f88f093514a137ae7b641ae863a863d75d3f749.sock
[20:24:08.398] Spawning local server with {“serverId”:2,“ipcHandlePath”:“/var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-ssh-askpass-1acc8a5e9e7d306857833ab8613dc55bd4f33801.sock”,“sshCommand”:“ssh”,“sshArgs”:[“-v”,“-T”,“-D”,“50055”,“EC2Autoscaling”],“serverDataFolderName”:“.cursor-server”,“dataFilePath”:“/Users/nk/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-05dbf7cb-84b9c6d907219bb8c2874f299540eb6a079187a0-0.113.1-es/data.json”}
[20:24:08.398] Local server env: {“SSH_AUTH_SOCK”:“/private/tmp/com.apple.launchd.49MJW6kuAG/Listeners”,“SHELL”:“/bin/zsh”,“DISPLAY”:“1”,“ELECTRON_RUN_AS_NODE”:“1”,“SSH_ASKPASS”:“/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/local-server/askpass.sh”,“VSCODE_SSH_ASKPASS_NODE”:“/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“”,“VSCODE_SSH_ASKPASS_MAIN”:“/Users/nk/.cursor/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“/var/folders/7p/vrw_rt4d1nzbjw8qr26f8c680000gn/T/vscode-ssh-askpass-8f88f093514a137ae7b641ae863a863d75d3f749.sock”}
[20:24:08.398] Spawned 48091
[20:24:08.485] > local-server-2> Running ssh connection command: ssh -v -T -D 50055 EC2Autoscaling
[20:24:08.487] > local-server-2> Spawned ssh, pid=48104
[20:24:08.494] stderr> OpenSSH_9.8p1, LibreSSL 3.3.6
[20:24:08.595] > ready: ba09313518b4
[20:24:08.625] > Linux 5.10.233-224.894.amzn2.aarch64 #1 SMP Mon Jan 27 16:53:26 UTC 2025
[20:24:08.625] Platform: linux
[20:24:08.668] > /bin/bash
[20:24:08.668] Shell: bash
[20:24:08.668] Creating bash subshell inside “bash”
[20:24:08.705] > bash version: 4.2.46(2)-release
[20:24:08.741] > ba09313518b4: running
[20:24:08.747] > Found existing installation at /home/ec2-user/.cursor-server…
Starting VS Code CLI… “/home/ec2-user/.cursor-server/cursor-84b9c6d907219bb8c2874f299540eb6a079187a0” command-shell --cli-data-dir “/home/ec2-user/.cursor-server/cli” --on-port --on-host=127.0.0.1 --parent-process-id 19097 &> “/home/ec2-user/.cursor-server/.cli.84b9c6d907219bb8c2874f299540eb6a079187a0.log” < /dev/null
printenv:
XDG_SESSION_ID=3
HOSTNAME=ip-10-0-25-177.ec2.internal
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=108.16.80.145 49617 22
USER=ec2-user
SSH_AUTH_SOCK=/tmp/ssh-ykm3CFUeWu/agent.2125
VSCODE_AGENT_FOLDER=/home/ec2-user/.cursor-server
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/go/bin:/home/ec2-user/go/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin
MAIL=/var/spool/mail/ec2-user
PWD=/home/ec2-user
LANG=en_US.UTF-8
HISTCONTROL=ignoredups
HOME=/home/ec2-user
SHLVL=2
LOGNAME=ec2-user
SSH_CONNECTION=108.16.80.145 49617 10.0.25.177 22
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_RUNTIME_DIR=/run/user/1000
_=/usr/bin/printenv
[20:24:08.747] > Removing old logfile at /home/ec2-user/.cursor-server/.cli.84b9c6d907219bb8c2874f299540eb6a079187a0.log
Spawned remote CLI: 19117
[20:24:08.761] > Waiting for server log…
[20:24:08.793] > ba09313518b4: start
DISPLAY====
listeningOn==127.0.0.1:41819==
osReleaseId==amzn==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==45==
execServerToken==1111a111-a11a-1111-11a1-1a1a11a1a11a==
ba09313518b4: end
[20:24:08.793] Received install output:
DISPLAY====
listeningOn==127.0.0.1:41819==
osReleaseId==amzn==
arch==aarch64==
vscodeArch==arm64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==45==
execServerToken==1111a111-a11a-1111-11a1-1a1a11a1a11a==
[20:24:08.793] Remote server is listening on port 41819
[20:24:08.793] Parsed server configuration: {“serverConfiguration”:{“remoteListeningOn”:{“port”:41819},“osReleaseId”:“amzn”,“arch”:“aarch64”,“display”:“”,“tmpDir”:“/run/user/1000”,“platform”:“linux”,“execServerToken”:“1111a111-a11a-1111-11a1-1a1a11a1a11a”},“serverStartTime”:45,“installUnpackCode”:“”}
[20:24:08.793] ** Note: Support for architecture “aarch64” is in preview **
[20:24:08.794] Persisting server connection details to /Users/nk/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-05dbf7cb-84b9c6d907219bb8c2874f299540eb6a079187a0-0.113.1-es/data.json
[20:24:08.795] Starting forwarding server. local port 50069 → socksPort 50055 → remotePort 41819
[20:24:08.795] Forwarding server listening on port 50069
[20:24:08.796] Waiting for ssh tunnel to be ready
[20:24:08.796] Tunneled port 41819 to local port 50069
[20:24:08.796] Resolved “ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d” to “port 50069”
[20:24:08.796] Resolving exec server at port 50069
[20:24:08.797] [Forwarding server port 50069] Got connection 0
[20:24:08.797] [Forwarding server port 50069] Got connection 1
[20:24:08.925] Exec server for ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d created and cached
[20:24:08.958] Opening exec server for ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d
[20:24:08.989] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a224543324175746f7363616c696e67227d