# Fix attach modal showing local processes in SSH sessions \(\#37608\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ea363466aa8e5ca9553820c3bde2746c56dfc6ea

Requested commit: ea363466aa8e5ca9553820c3bde2746c56dfc6ea

Commit: ea363466aa8e5ca9553820c3bde2746c56dfc6ea

Tree: bb9e4c09a3fbcae2848b931a606c15847699271f

Author: Anthony Eid

Committer: GitHub

## Message

```
Fix attach modal showing local processes in SSH sessions (#37608)

Closes #37520

This change makes the attach modal load processes from the remote server
when connecting via SSH, rather than showing local processes from the
client machine.

This works by using the new GetProcessesRequest RPC message to allow
downstream clients to get the correct processes to display. It also only
works with downstream ssh clients because the message handler is only
registered on headless projects.

Release Notes:

- debugger: Fix bug where SSH attach modal showed local processes
instead of processes from the server
```

## Parents

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

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