Unable to install cursor remote - SSH

Describe the Bug

Attempting to install cursor on a bitbop.io instance (running ubuntu 22):

2025-07-16 14:37:40.593 [info] Resolving ssh remote authority 'bb' (Unparsed 'ssh-remote+7b22686f73744e616d65223a226262227d') (attempt #1)
2025-07-16 14:37:40.613 [info] SSH askpass server listening on /var/folders/g3/1y2_hl1j16scls01cxqm76s80000gn/T/cursor-ssh-MCMZ0r/socket.sock
2025-07-16 14:37:40.614 [info] Using configured platform linux for remote host bb
2025-07-16 14:37:40.615 [info] Using askpass script: /Users/fuchur/.cursor/extensions/anysphere.remote-ssh-1.0.21/dist/scripts/launchSSHAskpass.sh with javascript file /Users/fuchur/.cursor/extensions/anysphere.remote-ssh-1.0.21/dist/scripts/sshAskClient.js. Askpass handle: /var/folders/g3/1y2_hl1j16scls01cxqm76s80000gn/T/cursor-ssh-MCMZ0r/socket.sock
2025-07-16 14:37:40.618 [info] Launching SSH server via shell with command: cat "/var/folders/g3/1y2_hl1j16scls01cxqm76s80000gn/T/cursor_remote_install_47803.sh" | ssh -v -T -D 53490 bb bash --login -c bash
2025-07-16 14:37:40.618 [info] Started installation script. Waiting for it to finish...
2025-07-16 14:37:40.618 [info] Waiting for server to install via process(12250)...
2025-07-16 14:37:40.635 [info] (ssh_tunnel) stderr: OpenSSH_9.8p1, LibreSSL 3.3.6

2025-07-16 14:37:40.635 [info] (ssh_tunnel) stderr: debug1: Reading configuration data /Users/fuchur/.ssh/config
debug1: /Users/fuchur/.ssh/config line 121: Applying options for bb
debug1: /Users/fuchur/.ssh/config line 157: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *

2025-07-16 14:37:40.635 [info] (ssh_tunnel) stderr: debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to bitbop.io port 22.

2025-07-16 14:37:40.728 [info] (ssh_tunnel) stderr: debug1: Connection established.

2025-07-16 14:37:40.729 [info] (ssh_tunnel) stderr: debug1: identity file /Users/fuchur/.ssh/id_rsa type 0
debug1: identity file /Users/fuchur/.ssh/id_rsa-cert type -1

2025-07-16 14:37:40.729 [info] (ssh_tunnel) stderr: debug1: identity file /Users/fuchur/.ssh/id_ecdsa type -1
debug1: identity file /Users/fuchur/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/fuchur/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/fuchur/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/fuchur/.ssh/id_ed25519 type -1
debug1: identity file /Users/fuchur/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/fuchur/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/fuchur/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/fuchur/.ssh/id_xmss type -1
debug1: identity file /Users/fuchur/.ssh/id_xmss-cert type -1
debug1: identity file /Users/fuchur/.ssh/id_dsa type -1

2025-07-16 14:37:40.729 [info] (ssh_tunnel) stderr: debug1: identity file /Users/fuchur/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.8

2025-07-16 14:37:41.218 [info] (ssh_tunnel) stderr: debug1: Remote protocol version 2.0, remote software version russh_0.50.0
debug1: compat_banner: no match: russh_0.50.0
debug1: Authenticating to bitbop.io:22 as 'fuchur'

2025-07-16 14:37:41.219 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen /Users/fuchur/.ssh/known_hosts2: No such file or directory

2025-07-16 14:37:41.219 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent

2025-07-16 14:37:41.219 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none

2025-07-16 14:37:41.220 [info] (ssh_tunnel) stderr: debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

2025-07-16 14:37:41.395 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:feDl1/f8oNwWSpsKz/yCG02CjN8bmyQSe0V7o/c3IaI

2025-07-16 14:37:41.395 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen /Users/fuchur/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbop.io' is known and matches the ED25519 host key.
debug1: Found key in /Users/fuchur/.ssh/known_hosts:49

2025-07-16 14:37:41.399 [info] (ssh_tunnel) stderr: debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: Sending SSH2_MSG_EXT_INFO
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks

2025-07-16 14:37:41.487 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa>

2025-07-16 14:37:41.576 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_SERVICE_ACCEPT received

2025-07-16 14:37:42.668 [info] (ssh_tunnel) stderr: debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey

2025-07-16 14:37:42.673 [info] (ssh_tunnel) stderr: debug1: get_agent_identities: bound agent to hostkey

2025-07-16 14:37:42.674 [info] (ssh_tunnel) stderr: debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /Users/fuchur/.ssh/id_rsa RSA SHA256:/rRsMEJIbjHftXJ7PDItw/wVbMnIadNxe9Vqk8qkrvQ
debug1: Will attempt key: /Users/fuchur/.ssh/id_ecdsa 
debug1: Will attempt key: /Users/fuchur/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /Users/fuchur/.ssh/id_ed25519 
debug1: Will attempt key: /Users/fuchur/.ssh/id_ed25519_sk 
debug1: Will attempt key: /Users/fuchur/.ssh/id_xmss 
debug1: Will attempt key: /Users/fuchur/.ssh/id_dsa 
debug1: Offering public key: /Users/fuchur/.ssh/id_rsa RSA SHA256:/rRsMEJIbjHftXJ7PDItw/wVbMnIadNxe9Vqk8qkrvQ

2025-07-16 14:37:42.761 [info] (ssh_tunnel) stderr: debug1: Server accepts key: /Users/fuchur/.ssh/id_rsa RSA SHA256:/rRsMEJIbjHftXJ7PDItw/wVbMnIadNxe9Vqk8qkrvQ

2025-07-16 14:37:43.213 [info] (ssh_tunnel) stderr: Authenticated to bitbop.io ([54.201.111.94]:22) using "publickey".
debug1: Local connections to LOCALHOST:53490 forwarded to remote address socks:0

2025-07-16 14:37:43.213 [info] (ssh_tunnel) stderr: debug1: Local forwarding listening on ::1 port 53490.
debug1: channel 0: new port-listener [port listener] (inactive timeout: 0)
debug1: Local forwarding listening on 127.0.0.1 port 53490.
debug1: channel 1: new port-listener [port listener] (inactive timeout: 0)
debug1: channel 2: new session [client-session] (inactive timeout: 0)

2025-07-16 14:37:43.213 [info] (ssh_tunnel) stderr: debug1: Entering interactive session.
debug1: pledge: filesystem

2025-07-16 14:37:43.302 [info] (ssh_tunnel) stderr: debug1: Sending environment.
debug1: channel 2: setting env LANG = "en_US.UTF-8"
debug1: channel 2: setting env LC_TERMINAL_VERSION = "3.5.14"
debug1: channel 2: setting env LC_TERMINAL = "iTerm2"
debug1: Sending command: bash --login -c bash

2025-07-16 14:37:43.571 [info] (ssh_tunnel) stderr: debug1: client_input_channel_req: channel 2 rtype exit-status reply 0

2025-07-16 14:37:43.659 [info] (ssh_tunnel) stderr: debug1: channel 2: free: client-session, nchannels 3
debug1: channel 0: free: port listener, nchannels 2

2025-07-16 14:37:43.659 [info] (ssh_tunnel) stderr: debug1: channel 1: free: port listener, nchannels 1
Transferred: sent 32624, received 1716 bytes, in 0.4 seconds
Bytes per second: sent 73200.2, received 3850.3
debug1: Exit status 0

2025-07-16 14:37:43.660 [info] (ssh_tunnel): exit: code=0 signal=null
2025-07-16 14:37:43.661 [error] Error installing server: Failed to install the Cursor Server. Please check the logs for more details.
2025-07-16 14:37:43.661 [info] Deleting local script /var/folders/g3/1y2_hl1j16scls01cxqm76s80000gn/T/cursor_remote_install_47803.sh
2025-07-16 14:37:43.662 [error] Error resolving SSH authority Failed to install the Cursor Server. Please check the logs for more details.


### Steps to Reproduce
.

### Expected Behavior
.



### Operating System
MacOS

### Current Cursor Version (Menu -> About Cursor -> Copy)
remote cursor version: 1.0.21

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:53:59.659Z (6 days ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.1.0

Hi @fox, could you confirm whether bash is available and installed on your remote host? We don’t see any output from the setup script that we attempt to run, which makes me think that it wasn’t able to run this command at all.

Could you also run this “Generate Connection Report” command from the command palette (cmd/ctrl-shift-p) and share the output? Thanks!

Thanks @ravirahman

Here’s the report

Cursor Remote SSH Connection Diagnostic Report - bb
Generated on: 2025-07-19T01:03:42.517Z

****************************************************************************
* WARNING: This report may contain sensitive information.                  *
* Please review and redact any sensitive information before sharing.       *
****************************************************************************
OpenSSH_9.8p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/USER/.ssh/config
debug1: /Users/USER/.ssh/config line 121: Applying options for bb
debug1: /Users/USER/.ssh/config line 157: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to bitbop.io port 22.
debug1: Connection established.
debug1: identity file /Users/USER/.ssh/id_rsa type 0
debug1: identity file /Users/USER/.ssh/id_rsa-cert type -1
debug1: identity file /Users/USER/.ssh/id_ecdsa type -1
debug1: identity file /Users/USER/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/USER/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/USER/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/USER/.ssh/id_ed25519 type -1
debug1: identity file /Users/USER/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/USER/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/USER/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/USER/.ssh/id_xmss type -1
debug1: identity file /Users/USER/.ssh/id_xmss-cert type -1
debug1: identity file /Users/USER/.ssh/id_dsa type -1
debug1: identity file /Users/USER/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.8
debug1: Remote protocol version 2.0, remote software version russh_0.53.0
debug1: compat_banner: no match: russh_0.53.0
debug1: Authenticating to bitbop.io:22 as 'USER'
debug1: load_hostkeys: fopen /Users/USER/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:feDl1/f8oNwWSpsKz/yCG02CjN8bmyQSe0V7o/c3IaI
debug1: load_hostkeys: fopen /Users/USER/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'bitbop.io' is known and matches the ED25519 host key.
debug1: Found key in /Users/USER/.ssh/known_hosts:49
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: Sending SSH2_MSG_EXT_INFO
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /Users/USER/.ssh/id_rsa RSA SHA256:/rRsMEJIbjHftXJ7PDItw/wVbMnIadNxe9Vqk8qkrvQ
debug1: Will attempt key: /Users/USER/.ssh/id_ecdsa 
debug1: Will attempt key: /Users/USER/.ssh/id_ecdsa_sk 
debug1: Will attempt key: /Users/USER/.ssh/id_ed25519 
debug1: Will attempt key: /Users/USER/.ssh/id_ed25519_sk 
debug1: Will attempt key: /Users/USER/.ssh/id_xmss 
debug1: Will attempt key: /Users/USER/.ssh/id_dsa 
debug1: Offering public key: /Users/USER/.ssh/id_rsa RSA SHA256:/rRsMEJIbjHftXJ7PDItw/wVbMnIadNxe9Vqk8qkrvQ
debug1: Server accepts key: /Users/USER/.ssh/id_rsa RSA SHA256:/rRsMEJIbjHftXJ7PDItw/wVbMnIadNxe9Vqk8qkrvQ
Authenticated to bitbop.io ([54.201.111.94]:22) using "publickey".
debug1: Local connections to LOCALHOST:62850 forwarded to remote address socks:0
debug1: Local forwarding listening on ::1 port 62850.
debug1: channel 0: new port-listener [port listener] (inactive timeout: 0)
debug1: Local forwarding listening on 127.0.0.1 port 62850.
debug1: channel 1: new port-listener [port listener] (inactive timeout: 0)
debug1: Local connections to LOCALHOST:8888 forwarded to remote address localhost:8888
debug1: Local forwarding listening on ::1 port 8888.
bind [::1]:8888: Address already in use
debug1: Local forwarding listening on 127.0.0.1 port 8888.
bind [127.0.0.1]:8888: Address already in use
channel_setup_fwd_listener_tcpip: cannot listen to port: 8888
debug1: channel 2: new session [client-session] (inactive timeout: 0)
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: Sending environment.
debug1: channel 2: setting env LANG = "en_US.UTF-8"
debug1: channel 2: setting env LC_TERMINAL_VERSION = "3.5.14"
debug1: channel 2: setting env LC_TERMINAL = "iTerm2"
debug1: Sending command: bash --login -c bash
debug1: client_input_channel_req: channel 2 rtype exit-status reply 0
debug1: channel 2: free: client-session, nchannels 3
debug1: channel 0: free: port listener, nchannels 2
debug1: channel 1: free: port listener, nchannels 1
Transferred: sent 6944, received 1804 bytes, in 0.3 seconds
Bytes per second: sent 22428.0, received 5826.6
debug1: Exit status 0



 Raw SSH logs:

and bash is definitely available on the remote.

Is there any manual command I could execute on the remote to install the server as a workaround?

This output implies that the connection terminated immediately. Do you have customizations in a .bashrc / .bash_profile / .profile? If so, could you try commenting them out?

Thanks. Unfortunately this did not change the output. I’ve tried in the meantime to connect with normal Vscode and there are no issues whatsoever.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.