Cursor_agent cannot authenticate over ssh

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

I’m connected from a Windows machine via SSH to my mac, where Cursor is installed. via SSH installed the cursor-agent.
when trying to execite it, it will ask to authenticate, it would open the browser on the HOST Mac machine, or gove me an URL to authenticate. Eitehr way I do, I’d get an error sayin

✗ Login failed

Failed to store authentication tokens: Security command failed: Security process exited with code: 36

but it works fine if I do everything on the mac itself.

Steps to Reproduce

Log in via SSH to a Mac machine where the cursor is running, and try login with the agent

Expected Behavior

authentication shall work

Operating System

Windows 10/11
MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Cursor Version: 1.7.40

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

1 Like

Hey, thanks for the report. We’ll check this.

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