Skip to content

Conversation

@RyousukeUchino
Copy link
Contributor

@RyousukeUchino RyousukeUchino commented Mar 1, 2024

Overview

I have been a dedicated user of both Coder and Cursor. However, I've encountered persistent issues when attempting to connect to the Coder workspace via Cursor (Cursor). These issues range from receiving 404 errors to SSH connection failures, preventing any access to the workspace. The root cause of these problems lies in the necessity to use Cursor's built-in Open Remote - SSH extension, anysphere.open-remote-ssh, for successful SSH connections.

Proposed Changes

To address this issue, I propose two modifications:

  1. Remove Remote SSH from Extension Dependencies: This change aims to eliminate the direct dependency on the Remote SSH extension, which conflicts with Cursor's operation.
  2. Support for anysphere.open-remote-ssh in Extension Acquisition: By officially supporting anysphere.open-remote-ssh, we ensure a smoother integration and functionality for users relying on Cursor for their SSH connections.

Considerations

I acknowledge that these changes might introduce confusion for users who do not use Cursor, as it could affect the automatic resolution of dependencies. Finding a more elegant solution that accommodates all users would be ideal. Nonetheless, my goal is to enable seamless operation with Cursor by incorporating support for anysphere.open-remote-ssh.

Note: To use anysphere.open-remote-ssh, it is necessary to uninstall ms-vscode-remote.remote-ssh.

I look forward to feedback and suggestions on this proposal to enhance our workspace connectivity and user experience.

@RyousukeUchino RyousukeUchino changed the title Pull Request: Enhancing SSH Connection Compatibility with Cursor Enhancing SSH Connection Compatibility with Cursor Mar 1, 2024
@code-asher
Copy link
Member

code-asher commented Mar 5, 2024

Thank you for the PR!

I think we are not able to merge this because we want a one-click experience from the Coder dashboard, and that means we need the extension dependencies to automatically install, which I think only happens if we have that key in the package.json.

Pretty cool they made their own version of the Remote SSH plugin though. I would love to see that become open source and completely take over the official plugin, then we could just use it by default!

We can merge the code portion, but I am not sure how to handle the package.json. Maybe we will need to repackage the extension, remove that part from the package.json, then distribute it separately as coder-cursor or something. Or maybe this is even something that should be part of Cursor itself? They could automatically replace the ms-vscode-remote.remote-ssh dependency with their own when they load extensions.

@RyousukeUchino
Copy link
Contributor Author

@code-asher
I agree with you. It seems possible to coexist without breaking the dependencies in package.json, so I will recreate the MR. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants