zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.49k stars 3.13k forks source link

ssh support on windows platform #19892

Open avcode-exe opened 3 weeks ago

avcode-exe commented 3 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When I try to connect to WSL2 via SSH, it failed. However, I can connect to WSL2 directly through SSH in my terminal.

Config:

"ssh_connections": [
  {
    "host": "localhost",
    "username": "airtau",
    // "args": ["-p", "22"],
    "port": 22,
    "nickname": "Wbuntu"
  }
],

Environment

Zed: v0.160.0 (Zed Dev 2d16d2d0363ad69653ab0c1a3736de74a07f476e)
OS: Windows 10.0.26100
Memory: 31.7 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || 101.6078

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your Zed.log file to this issue.

Zed.log

[log.txt](https://github.com/user-attachments/files/17557007/log.txt)
notpeter commented 3 weeks ago

That is correct. We have not implemented SSH support on Zed for Windows yet. https://github.com/zed-industries/zed/blob/b16b4f0be634a4d754cdc37e1f013726dbd69721/crates/remote/src/ssh_session.rs#L1259-L1267

avcode-exe commented 3 weeks ago

But I was able to connect to WSL2 via SSH before, and that's how I got this https://github.com/zed-industries/zed/issues/17844.