Open Cursor
Click 'View', then 'Command Palette'
Search 'remote-ssh: open ssh configuration file'
Paste config info
Host DUMMY_VM_NAME
User USERNAME
Hostname EXTERNAL_IP_ADDRESS
IdentityFile C:/Users/matth/.ssh/KEY_NAME
Generate ssh key
`ssh-keygen -t ed25519 -f .ssh/gcp-ssh-key -C "matthewkit"`
Go back to GCP to Edit VM instance
Paste public key in ssh keys section
Now open a remote connection to the host in Cursor
If it asks you for the operating system, select 'Linux'
If you'd like a video on how to create a free VM in Google Cloud in 2025, let me know in the comments below.