- Open up the Windows Terminal and run the command to generate your SSH key
ssh-keygen -t ed25519 -f "$env:USERPROFILE\.ssh\replit"
You can just press enter afterwards no need for a passphrase.
- Run this command to view and obtain your generated key
Get-Content "$env:USERPROFILE\.ssh\replit.pub"
This is the key you will be inputting and saving into Replit’s website.
- Adjust your SSH config
Open %USERPROFILE%.ssh\config in a text editor and ensure it looks like this
Host *.replit.dev
IdentityFile C:\Users\YourUsername.ssh\replit
User 328d0d20-b587-4eaa-9b0c-530125789c54
Image attached for example
- When prompted to select which OS in Cursor choose Linux
Your SSH connection to Replit should be successful.
Tested and working on Cursor Version 0.40.1