Ssh connect requestion

After connecting to a VM created with Remote SSH using Cursor 1.0.0, I can no longer connect to the same machine with Xshell.
-----cursor-----
15:40:27.282] Remote server is listening on port 35590

[15:40:27.282] Parsed server configuration: {“serverConfiguration”:{“remoteListeningOn”:{“port”:35590},“osReleaseId”:“centos”,“arch”:“x86_64”,“sshAuthSock”:“”,“display”:“”,“tmpDir”:“/run/user/0”,“platform”:“linux”,“execServerToken”:“11a11aaa-1aaa-111a-1a1a-1a111111a11a”},“serverStartTime”:843,“installUnpackCode”:“”}

[15:40:27.291] Starting forwarding server. local port 56813 → socksPort 56804 → remotePort 35590

[15:40:27.294] Forwarding server listening on port 56813

[15:40:27.294] Waiting for ssh tunnel to be ready

[15:40:27.298] Tunneled port 35590 to local port 56813

[15:40:27.298] Resolved “ssh-remote+192.168.75.128” to “port 56813”

[15:40:27.318] Initizing new exec server for ssh-remote+192.168.75.128

[15:40:27.318] Resolving exec server at port 56813

[15:40:27.362] [Forwarding server port 56813] Got connection 0

[15:40:27.379] [Forwarding server port 56813] Got connection 1

[15:40:27.503] Exec server for ssh-remote+192.168.75.128 created and cached

[15:40:27.522] ------

------XSHELL-----
Connecting to 192.168.75.128:22…
Connection established.
To escape to local shell, press ‘Ctrl+Alt+]’.

Last login: Sat Jun 14 15:45:25 2025 from 192.168.75.1

Connection closed by foreign host.

Disconnected from remote host(ops) at 15:47:44.

Type `help’ to learn how to use Xshell prompt.

Hi @chinesewxd123, Cursor does not change any SSH settings for the local or remote hosts. Could you double check your xshell and SSH daemon settings?

The error:

Connection closed by foreign host.

Indicates that the remote server closed the connection.