Logging into VPS SSH makes 2 logins

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

This has been an issue for a long time.
First, I log in using the password, then i choose the workspace.
Then i have to re-type the password, for no reason.

Steps to Reproduce

  1. Start cursor.
  2. Log in using SSH. (Type in the password)
  3. Choose /home or something as a workspace. (Then you get asked a second time for the same password)

Expected Behavior

I expect it to only ask for the password once, to log in, not after you have logged in, chosen a workspace, and then also log in.

Operating System

Windows 10/11

Version Information

Version: 3.7.19 (user setup)
VS Code Extension API: 1.105.1
Commit: 80c653c2c3528e65016a0d304b54486084b470b0
Date: 2026-06-07T01:42:56.126Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @master3395!

Thanks for the report! This is expected. Opening a remote workspace doesn’t reuse a single SSH login. When you pick the workspace folder, the window reloads and a fresh SSH connection is established to set up and open it, separate from your initial connection. Each connection authenticates on its own, so with password auth you get prompted again.

Generally, we would recommend switching to SSH key auth, which authenticates silently so you aren’t prompted at all.