Ssh connexion with other port than 22

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

how to tell to Cursor to use another port than 22 to connect SSH ?
how would be the ssh config file in this case ?

Steps to Reproduce

SSH connect : user@host_ip:port

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (system setup)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Should look like this!

Host your-server-name
    HostName your-server-ip-or-hostname
    Port 2222
    User your-username 
...
1 Like

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