Cursor<>Replit via SSH not working

Hi everyone, this helped me to fix it on WIN11:

Host *.replit.dev
    Port 22
    IdentityFile ~/.ssh/replit
    StrictHostKeyChecking accept-new

As mentioned in their official docs: SSH | Replit Docs

2 Likes

I think I just got lucky! I ended up deleting everything and starting over

On Windows 11, this is what I did after clicking Launch Cursor in Replit and getting asked for a password:

  1. open new Cursor window
  2. select Open with SSH
  3. select + Add a new SSH Host...
  4. enter the command “open the configuration file”
  5. Select the first path (something like C:\Users\adamviaja.ssh\config)
  6. click Open Config
  7. erase the file and paste:
Host *.replit.dev
  Port 22
  IdentityFile ~/.ssh/replit
  StrictHostKeyChecking accept-new
  1. save config file and close cursor
  2. go back to Replit and retry Launch Cursor
  3. Linux
5 Likes

This works! Thank you

This worked! Thanks :slight_smile:

@adamviaja solution worked for me, as errors are not detailed in this case

1 Like

Bro you are a lifesaver! This totally worked for me! How did you figure this out?!

Specifying the remote OS as Linux worked for me!

You legend…

life saver

great work gents !!! ■■■■ replit annoying af

did not work for me - it still stall with

2025-06-11 14:00:02.082 [error] Error installing server: Failed to install server within the timeout

the very same ssh config on VScode works perfectly