This method works great with VS Code, and allows a unified SSH credentials config, including leveraging ssh-agent within WSL2. It’s broken with cursor, and I keep getting errors. Request that support is added. (It’s a matter or getting it working in VSCode and then seeing how Curso handles things differently.)
Hi @burugo, thank you for this request. We are looking into it.
Hi @burugo, could you upgrade to version 1.0.23 of the Remote SSH extension? We added support for this trick in this version of the extension.
There are a few caveats to note:
- Only key or agent auth is supported. It will hang if prompting for a password.
- The host must be added to the known host file. It will hang if the host is not already trusted.