# debugger: Fix wrong port used for SSH debugging \(\#31474\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/62545b985f274b4d2f6edc9004fca605716e6047)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 62545b985f274b4d2f6edc9004fca605716e6047

Requested commit: 62545b985f274b4d2f6edc9004fca605716e6047

Commit: 62545b985f274b4d2f6edc9004fca605716e6047

Tree: 3f8f1adbc3afe1404ce0dae0c57b5e006d4fb3fb

Author: Cole Miller

Committer: GitHub

## Message

```
debugger: Fix wrong port used for SSH debugging (#31474)

We were trying to connect on the user's machine to the port number used
by the debugger on the remote machine, instead of the randomly-assigned
local available port.

Release Notes:

- Debugger Beta: Fixed a bug that caused connecting to a debug adapter
over SSH to hang.
```

## Parents

- [5e72c2a8701b9397aac12a325c03ee2f43aa41b6](https://git.cafe/gitcafe/zed/commit/5e72c2a8701b9397aac12a325c03ee2f43aa41b6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/62545b985f274b4d2f6edc9004fca605716e6047?format=markdown)
