How to SSH into HuggingFace Space

Hi, I did those things and still get this error:

2026-01-01 13:21:38.418 [info] Resolving ssh remote authority ‘<SPACE_NAME>@ssh.hf.space’ (Unparsed ‘ssh-remote+<SPACE_NAME>@ssh.hf.space’) (attempt #1)

2026-01-01 13:21:38.422 [info] SSH askpass server listening on /var/folders/ls/lk2x63852z1b7qh25yx5f3h40000gn/T/cursor-ssh-LP1DgN/socket.sock

2026-01-01 13:21:38.423 [info] Using configured platform linux for remote host ssh.hf.space

2026-01-01 13:21:38.423 [info] Using askpass script: /Users/landon/.cursor/extensions/anysphere.remote-ssh-1.0.36/dist/scripts/launchSSHAskpass.sh with javascript file /Users/landon/.cursor/extensions/anysphere.remote-ssh-1.0.36/dist/scripts/sshAskClient.js. Askpass handle: /var/folders/ls/lk2x63852z1b7qh25yx5f3h40000gn/T/cursor-ssh-LP1DgN/socket.sock

2026-01-01 13:21:38.426 [info] Launching SSH server via shell with command: cat “/var/folders/ls/lk2x63852z1b7qh25yx5f3h40000gn/T/cursor_remote_install_e6225f02-b559-45ce-99f5-11e4e977f619.sh” | ssh -T -D 52960 <SPACE_NAME>@ssh.hf.space bash --login -c bash

2026-01-01 13:21:38.426 [info] Establishing SSH connection: cat “/var/folders/ls/lk2x63852z1b7qh25yx5f3h40000gn/T/cursor_remote_install_e6225f02-b559-45ce-99f5-11e4e977f619.sh” | ssh -T -D 52960 <SPACE_NAME>@ssh.hf.space bash --login -c bash

2026-01-01 13:21:38.426 [info] Started installation script. Waiting for it to finish…

2026-01-01 13:21:38.426 [info] Waiting for server to install. Timeout: 300000ms

2026-01-01 13:26:38.432 [error] Error installing server: Failed to install server within the timeout

2026-01-01 13:26:38.432 [info] Deleting local script /var/folders/ls/lk2x63852z1b7qh25yx5f3h40000gn/T/cursor_remote_install_e6225f02-b559-45ce-99f5-11e4e977f619.sh

2026-01-01 13:26:38.435 [error] Error resolving SSH authority Failed to install server within the timeout

As you can see the timeout is now 300000ms

To be clear, I am first killing/removing all of the Cursor files/processes (using the command you gave me). Then, once I try to connect via Cursor SSH, I can see in the HF space that the server has been installed again and is running almost immediately. The fact that I can see the server is installing and running almost immediately makes me think this is not an issue of Cursor not waiting long enough, but some other incompatibility.

I tried running the following command in my Mac terminal:

`printf ‘echo _PIPE_OK_\n’ | ssh -T <SPACE_NAME>@ssh.hf.space bash --login -c bash`

and the process just hangs.