Cannot connect to linux server from cursor on Windows server with remote SSH

I am trying to post this bug but somehow it is dismissed as spamming.
I use cursor on window remote desktop and develop on remote SSH with several Alma Linux machines. On some machines it works fine but on certain machine I get the following behaviour:

  1. SSH connection established well with password given
  2. cursor server is installed on the remote machine
  3. unable to create socker with this traceback:
[Trace  - 08:53:51.587] Server install command stdout:
Downloading server from 'https://cursor.blob.core.windows.net/remote-releases/0.33.4-2dd5b2855ac68f3a3d3babee87d22b399a9db7d0/vscode-reh-linux-x64.tar.gz'
Server script already installed in /root/.cursor-server/bin/0.33.4-2dd5b2855ac68f3a3d3babee87d22b399a9db7d0/bin/cursor-server
Server PID: 909039
Server script: /root/.cursor-server/bin/0.33.4-2dd5b2855ac68f3a3d3babee87d22b399a9db7d0/bin/cursor-server
Server running process: 
80a9f80bdd1b68dc18c39cb1: start
exitCode==0==
listeningOn==45107==
connectionToken==b84ca28a-0a4c-448f-861b-73851cee0919==
logFile==/root/.cursor-server/.2dd5b2855ac68f3a3d3babee87d22b399a9db7d0.log==
osReleaseId==almalinux==
arch==x86_64==
platform==Linux==
tmpDir==/run/user/0==
80a9f80bdd1b68dc18c39cb1: end

[Trace  - 08:53:51.597] Creating forwarding server 62005(local) => 62004(socks) => 45107(remote)
[Error  - 08:54:21.741] Error while creating SOCKS connection
Error: Proxy connection timed out
	at d.closeSocket (c:\Users\Administrator\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:89619)
	at d.onEstablishedTimeout (c:\Users\Administrator\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:87967)
	at Timeout._onTimeout (c:\Users\Administrator\AppData\Local\Programs\cursor\resources\app\extensions\open-remote-ssh\dist\main.js:1:86861)
	at listOnTimeout (node:internal/timers:569:17)
	at process.processTimers (node:internal/timers:512:7)