# Support SCP style SSH URLs \(\#56304\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cc84bed4eb7b66db5695e72ad0b65577e9aaa292

Requested commit: cc84bed4eb7b66db5695e72ad0b65577e9aaa292

Commit: cc84bed4eb7b66db5695e72ad0b65577e9aaa292

Tree: 4acb7504287c8fa5f17a1e56ef12e43c997d8b16

Author: Peter Tripp

Committer: GitHub

## Message

```
Support SCP style SSH URLs (#56304)

Closes: 
- https://github.com/zed-industries/zed/discussions/56359

Self-Review Checklist:

- [ YES ] I've reviewed my own diff for quality, security, and
reliability
- [ N/A ] Unsafe blocks (if any) have justifying comments
- [ N/A ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ YES ] Tests cover the new/changed behavior
- [ YES ] Performance impact has been considered and is acceptable

Open to feedback or alternate approaches.
Could do `--ssh user@host:~code/proj` if preferred.
Or really cowboy it: regex replace `s|:~|/~|` and `s|:/|/|`; re-attempt
`Url::parse`

CC: @ConradIrwin

Release Notes:

- Add support for SCP style SSH urls: `zed ssh://user@host:~/code/proj`
```

## Parents

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

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